RpcPermission

data class RpcPermission(val resource: PermissionResource, val inheritAudience: Boolean, val audience: String? = null, val methods: List<String> = emptyList()) : Permission

RPC permissions, e.g. access to remote procedure calls.

Constructors

Link copied to clipboard
constructor(resource: PermissionResource, inheritAudience: Boolean, audience: String? = null, methods: List<String> = emptyList())

Properties

Link copied to clipboard

The audience that the permission applies to. This can either be a Uri or the constant '*' to indicate that all audiences are in scope.

Link copied to clipboard

Whether the audience is inherited from a higher-level permission.

Link copied to clipboard

The methods that can be invoked. This can either be a list of Nsids, or the constant '*' to indicate that all methods are in scope.

Link copied to clipboard
open override val resource: PermissionResource

The resource that this permission applies to.