Skip to main content
Version: Next

PermissionClient.authorize()

Home > @backstage/plugin-permission-common > PermissionClient > authorize

Evaluates Permissions and returns a definitive decision.

Signature:

authorize(requests: AuthorizePermissionRequest[], options?: PermissionClientRequestOptions): Promise<AuthorizePermissionResponse[]>;

Parameters

Parameter

Type

Description

requests

AuthorizePermissionRequest[]

options

PermissionClientRequestOptions

(Optional)

**Returns:**

Promise<AuthorizePermissionResponse[]>