Device Flow Client
Functions
Link copied to clipboard
suspend fun pollForToken(deviceCode: String, interval: Int, expiresAt: Long, onStateChange: (DeviceFlowState) -> Unit)
Link copied to clipboard
suspend fun requestDeviceCode(scopes: List<String> = listOf(
"urn:ietf:params:jmap:core",
"urn:ietf:params:jmap:mail",
"offline_access"
)): DeviceCodeResponse