Package-level declarations

Types

Link copied to clipboard
class AppLifecycleCallbackHandler : Application.ActivityLifecycleCallbacks

This class keeps track of the application's current activity. It is important to register this callback, otherwise the authentication interceptors will not be able to handle challenges properly! The recommended way to register this callback is by overriding android.app.Application and calling registerActivityLifecycleCallbacks from onCreate.

Link copied to clipboard
An application can control whether UI is shown by implementing this interface.
Link copied to clipboard
This class provides a place to set and call the AuthenticationUiCallback that decides whether to allow UI to be shown to authenticate the user.
Link copied to clipboard
open class BasicAuthActivity : Activity
Link copied to clipboard
This interface is used by BasicAuthDialogAuthenticator to store Basic Auth credentials to reuse on future challenges.
Link copied to clipboard
open class BasicAuthDialogAuthenticator : Authenticator
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.
Link copied to clipboard
This class implements BasicAuthCredentialStore by simply keeping a hashmap in memory (there is no persistence across app restarts).
Link copied to clipboard
open class BrowserDetails : Serializable
Contains details about a browser.
Link copied to clipboard
open class BrowserWhitelist : Serializable
A whitelist of browsers.
Link copied to clipboard
open class CertificateFailureInterceptor : Interceptor
This class helps recover from certificate failures caused by waiting for a client certificate to be provided.
Link copied to clipboard
Interface definition for a class that will be called when a certificate challenge is received.
Link copied to clipboard
The certificate request includes information to help choose the client certificate.
Link copied to clipboard
class ChooseCertificateProvider @JvmOverloads constructor(aliasStore: ChooseCertificateProvider.AliasStore? = null) : CertificateProvider

An implementation of the {@link CertificateProvider} that present the dialog to choose the certificate from device. The User selection can be saved in {@link AliasStore} if provided and the dialog will not show again. {@link AliasStore} only work when application is alive

Link copied to clipboard
interface IBackPress
Link copied to clipboard
open class NestedWebView : WebView, NestedScrollingChild
Immersive style WebView
Link copied to clipboard
Link copied to clipboard
Handles authentication with OAuth2.
Link copied to clipboard
open class OAuth2Configuration : Serializable
Link copied to clipboard
open class OAuth2Exception : IOException
Indicates a OAuth2 error response during the authorization.
Link copied to clipboard
class OAuth2Interceptor @JvmOverloads constructor(var oauth2Processor: OAuth2Processor, var tokenStore: OAuth2TokenStore = OAuth2TokenInMemoryStore()) : Interceptor

This class implements a okhttp3.Interceptor which enables OAuth authentication.

Link copied to clipboard
class OAuth2PasswordProcessor(oAuthConfig: OAuthConfig, oAuthClient: OAuthClientPassword?, okHttpClient: OkHttpClient?) : OAuth2Processor

Handles authentication with OAuth2 One-time Passcode. In the type of OAuthClientPassword as designated OAuth2 client, it can authenticate with server programmatically without launching webview or browser.

Link copied to clipboard
abstract class OAuth2Processor

This class is used by OAuth2Interceptor to authenticate when it detects an OAuth challenge.

Link copied to clipboard
class OAuth2RedirectActivity : Activity

Used to signal the end of OAuth2 authorization. An application doesn't need to use this class directly, but this class needs to have a correct tag in AndroidManifest.xml. By default this activity is in the AndroidManifest.xml with a scheme that is the app ID. The scheme must match the scheme of the redirect URL that is part of the OAuth security settings for the application on the server. If a non-default scheme is required, add a tag like this to AndroidManifest.xml inside the application tag:

Link copied to clipboard
@Serializable
class OAuth2Token : Serializable

This class keeps all relevant OAuth token information.

Link copied to clipboard
This class takes care of storing (and potentially persisting) the OAuth token.
Link copied to clipboard

Represents the OAuth2 authentication option to use with either WebView, CCT or Browser

Link copied to clipboard
This class is used by OAuth2Interceptor to authenticate when it detects an OAuth challenge.
Link copied to clipboard
open class OtpConfiguration
This class holds all the information for OTP (one time passcode) configuration.
Link copied to clipboard
open class OtpInterceptor : Interceptor
This class implements a okhttp3.Interceptor which enables OTP authentication.
Link copied to clipboard
interface OtpProcessor
This interface is used by the OtpInterceptor to authenticate when it detects an OTP challenge.
Link copied to clipboard
open class OtpResponseActivity : Activity
This class receives the intent from SAP Authenticator with the one time passcode data (in the form of a Uri).
Link copied to clipboard
open class OtpWebViewProcessor : OtpProcessor, OtpResultListener
This class uses android.webkit.WebView to implement OtpProcessor.
Link copied to clipboard
This class holds all the information of a SAML configuration.
Link copied to clipboard
class SamlInterceptor : Interceptor

Enables SAML authentication with OkHttp by implementing a okhttp3.Interceptor. This class detects SAML challenges, but uses a SamlProcessor to authenticate when a challenge is detected. If a SamlProcessor is not specified, SamlWebViewProcessor is used by default.

Link copied to clipboard
interface SamlProcessor
This interface is used by the SamlInterceptor to authenticate when it detects a SAML challenge.
Link copied to clipboard
This class uses android.webkit.WebView to implement SamlProcessor.
Link copied to clipboard
open class SslClientAuth
This class is meant to be used with the okhttp3.OkHttpClient.
Link copied to clipboard

An implementation of the CertificateProvider that provides certificates available in the android.security.KeyChain.

Link copied to clipboard
open class WebViewActivity : AppCompatActivity