PolicySourceInMemory

class PolicySourceInMemory(allow: List<Policy>, deny: List<Policy> = emptyList()) : PolicySource(source)

A simple in memory PolicySource with no AccessRequest matching.

Constructors

Link copied to clipboard
constructor(allow: List<Policy>, deny: List<Policy> = emptyList())

Functions

Link copied to clipboard
open suspend override fun policies(request: AccessRequest? = null): Policies

Fetches policies and allows for matching on a given AccessRequest.