public class AuthorizeMessageProcessorGenerator extends AbstractOAuthAdapterGenerator
ACCESS_CODE_PATTERN_FIELD_NAME, AUTH_CODE_PATTERN_FIELD_NAME, AUTHORIZE_METHOD_NAME, CONSUMER_FIELD_NAME, context, ENCODING, EXPIRATION_FIELD_NAME, EXPIRATION_TIME_PATTERN_FIELD_NAME, FETCH_ACCESS_TOKEN_METHOD_NAME, GRANT_TYPE, HAS_TOKEN_EXPIRED_METHOD_NAME, MULE_CONTEXT_FIELD_NAME, OAUTH_RESTORE_ACCESS_TOKEN_CALLBACK_FIELD_NAME, OAUTH_SAVE_ACCESS_TOKEN_CALLBACK_FIELD_NAME, OAUTH_VERIFIER_FIELD_NAME, ON_NO_TOKEN_POLICY_FIELD_NAME, REFRESH_TOKEN_FIELD_NAME, REFRESH_TOKEN_PATTERN_FIELD_NAME, REQUEST_TOKEN_FIELD_NAME, REQUEST_TOKEN_SECRET_FIELD_NAME, RESET_METHOD_NAME, VERIFIER_FIELD_NAME| Constructor and Description |
|---|
AuthorizeMessageProcessorGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected org.mule.devkit.model.code.GeneratedField |
authorizationCodePatternConstant(org.mule.devkit.model.code.GeneratedClass oauthAdapter,
String regex) |
List<Product> |
consumes() |
void |
generate(org.mule.devkit.model.module.Module module) |
List<Product> |
produces() |
boolean |
shouldGenerate(org.mule.devkit.model.module.Module module) |
authorizationCodeField, ctx, generateAccessTokenUrlField, generateAuthorizationUrlField, generateCatchAndReThrow, generateCatchAndReThrow, generateHasBeenAuthorizedMethod, generateInitialiseMethod, generateLoggerField, generateOAuth1AuthorizeMethod, generateOAuth2AuthorizeMethod, generateOnNoTokenPolicyField, generateRequestTokenUrlField, getOAuthAdapterClass, ref, ref, ref, ref, restoreAccessTokenCallbackField, saveAccessTokenCallbackField, setCtxpublic List<Product> consumes()
consumes in interface Generatorconsumes in class AbstractOAuthAdapterGeneratorpublic List<Product> produces()
produces in interface Generatorproduces in class AbstractOAuthAdapterGeneratorpublic boolean shouldGenerate(org.mule.devkit.model.module.Module module)
public void generate(org.mule.devkit.model.module.Module module) throws GenerationException
GenerationExceptionprotected org.mule.devkit.model.code.GeneratedField authorizationCodePatternConstant(org.mule.devkit.model.code.GeneratedClass oauthAdapter, String regex)
Copyright © 2010–2021 MuleSoft, Inc.. All rights reserved.