Skip to main content

scopeMatches

@webda/core


Function: scopeMatches()

scopeMatches(scope, operationId): boolean

Defined in: packages/core/src/session/scope.ts:68

Return true when a glob of the scope matches the operation

Parameters​

scope​

Scope

granted scope

operationId​

string

operation

Returns​

boolean

true when a glob of the scope matches the operation