Package-level declarations

Types

Link copied to clipboard
class AppAttestationClient(context: Context, deviceId: String, googleCloudProjectId: Long, integrityManager: StandardIntegrityManager = createStandard(context), remoteAccessConsumerKeyProvider: RemoteAccessConsumerKeyProvider, restClient: RestClient)

App attestation features supporting the Salesforce App Attestation External Client App (ECA) Plugin, the Salesforce Challenge API, Google Play Integrity API and integration of app attestation with Salesforce Authentication.

Link copied to clipboard
The service used for taking care of authentication for a Salesforce-based application.
Link copied to clipboard
open class HttpAccess
Generic HTTP Access layer - used internally by com.salesforce.androidsdk.rest.RestClient and OAuth2.
Link copied to clipboard
data class JwtAccessToken(val rawJwt: String, val header: JwtHeader, val payload: JwtPayload)

Data class for decoding JWT-based access token

Link copied to clipboard
@Serializable
data class JwtHeader(val algorithn: String? = null, val type: String? = null, val keyId: String? = null, val tokenType: String? = null, val tenantKey: String? = null, val version: String? = null)
Link copied to clipboard
@Serializable
data class JwtPayload(val audience: List<String>? = null, val expirationTime: Int? = null, val issuer: String? = null, val notBeforeTime: Int? = null, val subject: String? = null, val scopes: String? = null, val clientId: String? = null)
Link copied to clipboard
Android requires service classes to be public.
Link copied to clipboard
open class OAuth2
Helper methods for common OAuth2 requests.
Link copied to clipboard

Typed representation of the OAuth token endpoint error values defined by the Salesforce server in OauthErrorCode.java (core/identity-common-api).

Link copied to clipboard

Provides the Salesforce External Client App (ECA) remote access consumer key. This is typically sourced from the boot configuration.

Link copied to clipboard

Utility class for parsing and working with OAuth2 scopes.