@Target(value=FIELD) @Retention(value=SOURCE) @Documented public @interface OAuthAccessToken
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.Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.