public abstract class OAuth2Scheme extends APISecurityScheme
| Modifier and Type | Field and Description |
|---|---|
static String |
OAUTH2_GRANT_AUTHORIZATION_CODE |
static String |
OAUTH2_GRANT_CLIENT_CREDENTIALS |
BASIC, configParameters, CUSTOM_AUTHENTICATION, CUSTOM_JWT, DIGEST_AUTHENTICATION, headers, JWT, OAUTH1, OAUTH2, PASS_THROUGH, queryParameters, UNSECURED| Constructor and Description |
|---|
OAuth2Scheme(String authorizationUri,
String accessTokenUri,
List<String> grants,
List<String> scopes,
String renewTokenExpression) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addScopeConfigParameter() |
protected boolean |
equalOrBothNull(Object a,
Object b) |
protected boolean |
equalProperties(APISecurityScheme scheme) |
String |
getAccessTokenUri() |
List<String> |
getAuthorizationGrants() |
String |
getAuthorizationUri() |
String |
getRenewTokenExpression() |
String |
getSchemeName() |
List<String> |
getScopes() |
equals, equals, getConfigParameters, getHeaders, getQueryParameters, getSecuritySchemeParameter, getSecuritySchemeParameter, hasConfigParameters, hashCode, hasHeaders, hasQueryParameters, initializeConfigParameterspublic static final String OAUTH2_GRANT_AUTHORIZATION_CODE
public static final String OAUTH2_GRANT_CLIENT_CREDENTIALS
public String getSchemeName()
getSchemeName in class APISecuritySchemepublic String getAuthorizationUri()
public String getAccessTokenUri()
public String getRenewTokenExpression()
protected boolean equalProperties(APISecurityScheme scheme)
equalProperties in class APISecuritySchemeprotected void addScopeConfigParameter()
Copyright © 2024. All rights reserved.