Skip to content

authorize

authorize(authorizations): (target, propertyKey?, descriptor?) => void

When applied to an Endpoint or Session method, sets one or more OAuth2 scopes who are authorized to make service calls to that method from client code. Clients with ANY of the scopes will be granted access.

Parameters

authorizations: Object | Object[]

Returns

Function

Parameters

target: any

propertyKey?: string | symbol

descriptor?: PropertyDescriptor

Returns

void


Generated using typedoc-plugin-markdown and TypeDoc