Authorizer
A class that provides authorization functionality using a policy enforcement provider and a Heimdall client.
Functions
Link copied to clipboard
Authorizes an access token using the Heimdall client's authorization API.
fun authorize(token: String, batch: Map<String, Tuple<String, Map<String, String>?>>, correlationId: String): AuthorizationResponseBatch
Authorizes a token for a batch of atoms and returns the AuthorizationResponseBatch.
fun authorize(token: String, atomId: String, variableValues: Map<String, String>?, correlationId: String): AuthorizationResponse
Authorizes an access token for a specific atom using the Heimdall client's authorization API.