AuthorizationRequestBatch

data class AuthorizationRequestBatch(val token: String, val contexts: Map<String, AuthContext>)

Represents a batch of authorization requests.

Constructors

Link copied to clipboard
constructor(token: String, contexts: Map<String, AuthContext>)

Functions

Link copied to clipboard
fun from(token: String, predicate: String, tags: List<String>?, paths: List<String>?, metadata: Map<String, Any>?): AuthorizationRequestBatch

Creates an authorization request batch with a single authorization request context.

Properties

Link copied to clipboard

A map of authorization contexts, where the key is a predicate representing a specific authorization.

Link copied to clipboard

The authentication token used for the authorization requests in the batch.