Package-level declarations

Types

Link copied to clipboard
The abstract class AbstractSymmetricEncryptor provides methods to encrypt and decrypt data using Symmetric Key SecretKey
Link copied to clipboard
open class Action
Action can be used for FRRequestInterceptor to easily identify what type of outgoing event is being made from the SDK and for developers to customize the given Request object in FRRequestInterceptor`.
Link copied to clipboard
internal open class AndroidMEncryptor(keyAlias: String) : AbstractSymmetricEncryptor

Provide data encryption and decryption for Android M device.

Link copied to clipboard
Provide data encryption and decryption for Android N+ device.
Link copied to clipboard
Provide data encryption and decryption for Android P+ device.
Link copied to clipboard
class AppPinAuthenticator(val cryptoKey: CryptoKey, val keyStoreRepository: KeyStoreRepository = EncryptedFileKeyStore(cryptoKey.keyAlias))

An authenticator to authenticate the user with Application Pin

Link copied to clipboard
The class AsymmetricEncryptor provides methods to encrypt and decrypt data using Asymmetric Keys PublicKey &PrivateKey, the public key will be used to encrypt the data and PrivateKey will be used to decrypt the data.
Link copied to clipboard
open class Body
The content of the Request body
Link copied to clipboard
interface BuildStep<T>
A Build Step to build the Builder.
Link copied to clipboard

Observes, modifies outgoing request cookie header from the SDK. Interceptors can be used to add, remove, or transform cookie headers on the request.

Link copied to clipboard
Dispatch an event to Observer(s) which listens for the event.
Link copied to clipboard
class CryptoKey(var keyId: String)

Helper class to generate and sign the keys

Link copied to clipboard
internal class DefaultLogger : FRLogger
Link copied to clipboard
Link copied to clipboard
class EncryptedFileKeyStore(val identifier: String, val aliasName: String = "org.forgerock.v1.KEY_STORE_MASTER_KEY_ALIAS") : KeyStoreRepository

An implementation of KeyStoreRepository which use EncryptedFile to store the KeyStore

Link copied to clipboard
Link copied to clipboard
An EncryptionException should be thrown for any problems related to encryption.
Link copied to clipboard
interface Encryptor
The interface class Encryptor provides methods to encrypt and decrypt data.
Link copied to clipboard
interface FRLogger

Defines the interface for handling log messages in the ForgeRock Android SDK.

Link copied to clipboard
Observes, modifies outgoing request from the SDK.
Link copied to clipboard
A function that accepts one argument and produces a result.
Link copied to clipboard
internal class InterceptorProvider
Link copied to clipboard
Manage Device Identifier Keys in the KeyStore.
Link copied to clipboard

Repository to store KeyStore

Link copied to clipboard
class Logger

Logger for ForgeRock SDK

Link copied to clipboard
open class NetworkConfig
Manages Network configuration information
Link copied to clipboard

Provider to Cache and provide OKHttpClient

Link copied to clipboard

Interceptor to intercept Http Request Cookie header and invoke registered RequestInterceptor

Link copied to clipboard
open class OkHttpRequestInterceptor : Interceptor
Interceptor to intercept Http Request, transform the okhttp3.Request to Request and invoke registered RequestInterceptor
Link copied to clipboard
open class Reject
Link copied to clipboard
open class Request
Represent an HTTP request.
Link copied to clipboard
Observes, modifies outgoing request from the SDK.
Link copied to clipboard
Registry to manage RequestInterceptor
Link copied to clipboard
An implementation of SharedPreferences that encrypts values.
Link copied to clipboard
Represents a supplier of results.

Properties

Link copied to clipboard
private val TAG: String

Functions

Link copied to clipboard
fun Long.convertToTime(pattern: String = "yyyyMMdd HH:mm:ss"): String

Convert the Long to Time

Link copied to clipboard

Check if the String is an Absolute URL

Link copied to clipboard
operator fun <T> JSONArray.iterator(): Iterator<T>
Link copied to clipboard
infix fun <T> Boolean.then(value: T): T?