package

com.sap.cloud.mobile.foundation.authentication

Interfaces

AuthenticationUiCallback An application can control whether UI is shown by implementing this interface. 
BasicAuthCredentialStore This interface is used by BasicAuthDialogAuthenticator to store Basic Auth credentials to reuse on future challenges. 
CertificateProvider Interface definition for a class that will be called when a certificate challenge is received. 
OAuth2TokenStore This class takes care of storing (and potentially persisting) the OAuth token. 
OtpProcessor This interface is used by the OtpInterceptor to authenticate when it detects an OTP challenge. 
SamlProcessor This interface is used by the SamlInterceptor to authenticate when it detects a SAML challenge. 
SystemCertificateProvider.AliasStore An interface used for persisting the aliases the user has selected from the KeyChain

Classes

AppLifecycleCallbackHandler This class keeps track of the application's current activity. 
AuthenticationUiCallbackManager This class provides a place to set and call the AuthenticationUiCallback that decides whether to allow UI to be shown to authenticate the user. 
BasicAuthDialogAuthenticator This class is an implementation of Authenticator (see https://square.github.io/okhttp/3.x/okhttp/okhttp3/Authenticator.html) that gets credentials from the user via a dialog. 
BasicAuthInMemoryStore This class implements BasicAuthCredentialStore by simply keeping a hashmap in memory (there is no persistence across app restarts). 
BasicAuthPersistentStore This class implements BasicAuthCredentialStore by persisting credentials in SecureKeyValueStore  
BrowserDetails Contains details about a browser. 
BrowserWhitelist A whitelist of browsers. 
CertificateFailureInterceptor This class helps recover from certificate failures caused by waiting for a client certificate to be provided. 
CertificateRequest The certificate request includes information to help choose the client certificate. 
OAuth2BrowserProcessor Handles authentication with OAuth2. 
OAuth2ClientCredentialGrantProcessor  
OAuth2Configuration This class holds all the information of an OAuth configuration. 
OAuth2Configuration.Builder Used to build a OAuth2Configuration object. 
OAuth2Interceptor This class implements a Interceptor which enables OAuth authentication. 
OAuth2Processor This class is used by OAuth2Interceptor to authenticate when it detects an OAuth challenge. 
OAuth2RedirectActivity Used to signal the end of OAuth2 authorization. 
OAuth2Token This class keeps all relevant OAuth token information. 
OAuth2Token.Builder  
OAuth2TokenInMemoryStore  
OAuth2TokenPersistentStore This class implements OAuth2TokenStore by persisting credentials in SecureKeyValueStore  
OAuth2WebViewProcessor This class is used by OAuth2Interceptor to authenticate when it detects an OAuth challenge. 
OtpConfiguration This class holds all the information for OTP (one time passcode) configuration. 
OtpConfiguration.Builder This class is used to build a OtpConfiguration object. 
OtpInterceptor This class implements a Interceptor which enables OTP authentication. 
OtpResponseActivity This class receives the intent from SAP Authenticator with the one time passcode data (in the form of a Uri). 
OtpWebViewProcessor This class uses WebView to implement OtpProcessor
SamlConfiguration This class holds all the information of a SAML configuration. 
SamlConfiguration.Builder Used to build a SamlConfiguration object. 
SamlInterceptor Enables SAML authentication with OkHttp by implementing a Interceptor
SamlWebViewProcessor This class uses WebView to implement SamlProcessor
SslClientAuth This class is meant to be used with the OkHttpClient
SystemCertificateProvider An implementation of the CertificateProvider that provides certificates available in the KeyChain

Exceptions

OAuth2Exception Indicates a OAuth2 error response during the authorization.