Package-level declarations

Types

Link copied to clipboard
fun interface AccessTokenValidator

Validates access tokens by comparing the at_hash claim in the ID token against the actual access token hash.

Link copied to clipboard

Default AccessTokenValidator that validates the at_hash claim in an ID token against the SHA-256 left-half hash of the access token, per OpenID Connect Core 1.0.

Link copied to clipboard

Default DeviceSecretValidator that validates the ds_hash claim in an ID token against the SHA-256 left-half hash of the device secret.

Link copied to clipboard
class DefaultIdTokenValidator(val issuedAtGracePeriodInSeconds: Int = 600) : IdTokenValidator
Link copied to clipboard
fun interface DeviceSecretValidator

Validates device secrets by comparing the ds_hash claim in the ID token against the actual device secret hash.

Link copied to clipboard

Used for validating ID tokens minted by an Authorization Server.

Link copied to clipboard
value class MaxRetries(val value: Int)

A non-negative count of retry attempts, enforced at construction time.

Link copied to clipboard
value class MinDelaySeconds(val value: Long)

A non-negative minimum delay in seconds between retry attempts, enforced at construction time.

Link copied to clipboard

A cross-platform OAuth2 client for interacting with an Okta Authorization Server.

Link copied to clipboard
data class RateLimitRetryConfig(val maxRetries: MaxRetries, val minDelaySeconds: MinDelaySeconds)

Configuration returned by OAuth2ClientConfiguration.rateLimitRetryCallback to control retry behavior after an HTTP 429 rate-limit response.