Package-level declarations
Types
Link copied to clipboard
data class AuthConfig(val clientId: String, val clientUniqueKey: String? = null, val clientSecret: String? = null, val credentialsKey: String, val scopes: Set<String> = setOf(), val tidalLoginServiceBaseUrl: String = DEFAULT_LOGIN_SERVICE_BASE_URL, val tidalAuthServiceBaseUrl: String = DEFAULT_AUTH_SERVICE_BASE_URL, val enableCertificatePinning: Boolean = true, val logLevel: NetworkLogLevel = NetworkLogLevel.NONE)
Configuration object for the Auth module.
Link copied to clipboard
class AuthorizationError(val code: String, val subStatus: Int? = null, val throwable: Throwable? = null) : TidalError
Error indicating that the user did not correctly authenticate themselves at the TIDAL login service. Raised when the URI made to the redirect URI indicates that the authentication was not succesful.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Message sent on the CredentialsProvider.bus when credentials are updated.
Link copied to clipboard
Link copied to clipboard
data class LoginConfig(val locale: Locale? = Locale.getDefault(), val email: String? = null, val customParams: Set<QueryParameter> = setOf())
Configuration parameters for the TIDAL login service.
Link copied to clipboard
Represents a query parameter.
Link copied to clipboard
class TokenResponseError(val code: String, val subStatus: Int? = null, val throwable: Throwable? = null) : TidalError
Error used to indicate that an access token could not be retrieved.
Functions
Link copied to clipboard
Creates a AuthResult.Failure with all fields
Link copied to clipboard
Creates a AuthResult.Success with data payload