Class BaseAuthentication

java.lang.Object
com.microsoft.graph.auth.BaseAuthentication
Direct Known Subclasses:
AuthorizationCodeProvider, ClientCredentialProvider, UsernamePasswordProvider

public class BaseAuthentication
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected static java.util.HashMap<java.lang.String,​java.lang.String> CloudList  
  • Constructor Summary

    Constructors
    Constructor Description
    BaseAuthentication​(java.util.List<java.lang.String> scopes, java.lang.String clientId, java.lang.String authority, java.lang.String redirectUri, NationalCloud nationalCloud, java.lang.String tenant, java.lang.String clientSecret)  
  • Method Summary

    Modifier and Type Method Description
    protected java.lang.String getAccessTokenSilent()  
    protected java.lang.String getAuthority()  
    protected static java.lang.String GetAuthority​(NationalCloud authorityEndpoint, java.lang.String tenant)  
    protected java.lang.String getClientId()  
    protected java.lang.String getClientSecret()  
    protected NationalCloud getNationalCloud()  
    protected java.lang.String getRedirectUri()  
    protected org.apache.oltu.oauth2.client.response.OAuthJSONAccessTokenResponse getResponse()  
    protected java.lang.String getScopesAsString()  
    protected long getStartTime()  
    protected java.lang.String getTenant()  
    protected void setResponse​(org.apache.oltu.oauth2.client.response.OAuthJSONAccessTokenResponse response)  
    protected void setStartTime​(long startTime)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CloudList

      protected static java.util.HashMap<java.lang.String,​java.lang.String> CloudList
  • Constructor Details

    • BaseAuthentication

      public BaseAuthentication​(java.util.List<java.lang.String> scopes, java.lang.String clientId, java.lang.String authority, java.lang.String redirectUri, NationalCloud nationalCloud, java.lang.String tenant, java.lang.String clientSecret)
  • Method Details

    • GetAuthority

      protected static java.lang.String GetAuthority​(NationalCloud authorityEndpoint, java.lang.String tenant)
    • getScopesAsString

      protected java.lang.String getScopesAsString()
    • getAccessTokenSilent

      protected java.lang.String getAccessTokenSilent()
    • getAuthority

      protected java.lang.String getAuthority()
    • getClientId

      protected java.lang.String getClientId()
    • getClientSecret

      protected java.lang.String getClientSecret()
    • getRedirectUri

      protected java.lang.String getRedirectUri()
    • setResponse

      protected void setResponse​(org.apache.oltu.oauth2.client.response.OAuthJSONAccessTokenResponse response)
    • getResponse

      protected org.apache.oltu.oauth2.client.response.OAuthJSONAccessTokenResponse getResponse()
    • getStartTime

      protected long getStartTime()
    • setStartTime

      protected void setStartTime​(long startTime)
    • getNationalCloud

      protected NationalCloud getNationalCloud()
    • getTenant

      protected java.lang.String getTenant()