Package com.strivacity.android

Types

Link copied to clipboard
class AuthActivity : AppCompatActivity

Activity updates the AuthClient state with the auth response received from the redirect URI and calls the appropriate callback.

Link copied to clipboard
interface AuthClient

Interface for dispatch requests to authentication Strivacity APIs. Note that instances of this interface must be manually disposed when no longer required, to avoid leaks.

Link copied to clipboard
class AuthConstants

This class contains constants with authentication types that are used in AuthClientImpl.createAuthRequest

Link copied to clipboard
class AuthProvider(context: Context)

Uses for initialization AuthClient object

Link copied to clipboard
class AuthProviderException(message: String) : Exception

Uses when AuthProvider needs to return exception

Link copied to clipboard
class BiometricAuthException : Exception

Uses when biometric authentication failed

Link copied to clipboard
data class BiometricPromptConfig(title: String?, subtitle: String?, negativeButtonText: String?)
Link copied to clipboard
enum BiometricType : Enum<BiometricType>

Enum to configure the way the biometric authentication should work or disable it.

Link copied to clipboard
data class Config(clientId: String, clientSecret: String, domain: String, redirectUri: String)

The class contains required for authentication information.

Link copied to clipboard
interface ProviderCallback

Interface for callbacks to handle AuthClient creation. Called in AuthProvider.provide after the user has created AuthClient object

Link copied to clipboard
class RedirectHandlerActivity : AppCompatActivity

This activity was added to fix the incompatibility of the redirect uri format that the AuthorizationManagementActivity expects with the one returned by Implicit and Hybrid Flow from the Strivacity APIs.

Link copied to clipboard
interface RequestCallback<T>

Interface for callbacks to handle result of request. Used in all authentication Strivacity APIs.

Link copied to clipboard
class SecureStorage(context: Context, biometricType: BiometricType)

This is used to securely store Strivacity authorization data on the device. How secure storage for authorization data is used Encrypted Shared Preferences