|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=FIELD) @Retention(value=SOURCE) @Documented public @interface OAuthAccessToken
A class annotated with OAuth or OAuth2 needs to have exactly one field annotated with @OAuthAccessToken.
The field must be of type String. When an @Processor method that is invoked, a OAuth
access token will be set in case the Resource Owner already authorized the Consumer, otherwise the method will not
be invoked and the Resource Owner will be redirected to the OAuth.authorizationUrl() or OAuth2.authorizationUrl()
depending on the class level annotation used.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||