Class BaseMicrosoftAzureActiveDirectoryApi
- java.lang.Object
-
- com.github.scribejava.core.builder.api.DefaultApi20
-
- com.github.scribejava.apis.microsoftazureactivedirectory.BaseMicrosoftAzureActiveDirectoryApi
-
- Direct Known Subclasses:
MicrosoftAzureActiveDirectory20Api,MicrosoftAzureActiveDirectoryApi
public abstract class BaseMicrosoftAzureActiveDirectoryApi extends DefaultApi20
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringCOMMON_TENANTprivate static java.lang.StringMSFT_LOGIN_URLprivate static java.lang.StringOAUTH_2private java.lang.Stringtenant
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseMicrosoftAzureActiveDirectoryApi()protectedBaseMicrosoftAzureActiveDirectoryApi(java.lang.String tenant)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAccessTokenEndpoint()Returns the URL that receives the access token requests.protected java.lang.StringgetAuthorizationBaseUrl()ClientAuthenticationgetClientAuthentication()protected java.lang.StringgetEndpointVersionPath()-
Methods inherited from class com.github.scribejava.core.builder.api.DefaultApi20
createService, getAccessTokenExtractor, getAccessTokenVerb, getAuthorizationUrl, getBearerSignature, getDeviceAuthorizationEndpoint, getDeviceAuthorizationExtractor, getRefreshTokenEndpoint, getRevokeTokenEndpoint
-
-
-
-
Field Detail
-
COMMON_TENANT
protected static final java.lang.String COMMON_TENANT
- See Also:
- Constant Field Values
-
MSFT_LOGIN_URL
private static final java.lang.String MSFT_LOGIN_URL
- See Also:
- Constant Field Values
-
OAUTH_2
private static final java.lang.String OAUTH_2
- See Also:
- Constant Field Values
-
tenant
private final java.lang.String tenant
-
-
Method Detail
-
getAccessTokenEndpoint
public java.lang.String getAccessTokenEndpoint()
Description copied from class:DefaultApi20Returns the URL that receives the access token requests.- Specified by:
getAccessTokenEndpointin classDefaultApi20- Returns:
- access token URL
-
getAuthorizationBaseUrl
protected java.lang.String getAuthorizationBaseUrl()
- Specified by:
getAuthorizationBaseUrlin classDefaultApi20
-
getClientAuthentication
public ClientAuthentication getClientAuthentication()
- Overrides:
getClientAuthenticationin classDefaultApi20
-
getEndpointVersionPath
protected java.lang.String getEndpointVersionPath()
-
-