ScopedKey

data class ScopedKey(var kty: String, var scope: String, var k: String, var kid: String)

A cryptographic key associated with an OAuth scope.

Some OAuth scopes have a corresponding client-side encryption key that is required in order to access protected data. This struct represents such key material in a format compatible with the common "JWK" standard.

Constructors

Link copied to clipboard
constructor(kty: String, scope: String, k: String, kid: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var k: String

The key material, as base64-url-encoded bytes.

Link copied to clipboard
var kid: String

An opaque unique identifier for this key.

Link copied to clipboard
var kty: String

The type of key.

Link copied to clipboard

The OAuth scope with which this key is associated.