@Target(value=METHOD) @Retention(value=RUNTIME) @Inherited public @interface Authorization
Api or ApiOperation.ApiOperation,
Api| Modifier and Type | Required Element and Description |
|---|---|
String |
value
The name of the authorization scheme to be used on this resource/operation.
|
| Modifier and Type | Optional Element and Description |
|---|---|
AuthorizationScope[] |
scopes
The scopes to be used if the authorization scheme is OAuth2.
|
public abstract String value
public abstract AuthorizationScope[] scopes
AuthorizationScopeCopyright © 2014. All Rights Reserved.