Skip to main content
Version: Next (2.x)

DefaultScopes<Scopes, Grants>

DefaultScopes<Scopes, Grants> = object

Configuration for default authorization scopes that apply to all operations of a specific type.

Type Parameters

Type Parameter

Scopes extends ScopesShape

Grants extends string

Properties

PropertyTypeDescription

Mutation?

ScopeRules<Scopes, Grants>

Default scopes applied to all Mutation operations

Query?

ScopeRules<Scopes, Grants>

Default scopes applied to all Query operations

Subscription?

ScopeRules<Scopes, Grants>

Default scopes for Subscription operations