Header menu logo Nao

RuleScope Type

How broadly a granted rule applies.

Union cases

Union case Description

Global

Full Usage: Global

Applies to every session — the user explicitly opted to remember the grant globally.

Session sessionKey

Full Usage: Session sessionKey

Parameters:
    sessionKey : string

Applies only within one session (the grain key "userId/sessionId"). This is the default when a user grants access in response to a single request.

sessionKey : string

Instance members

Instance member Description

this.IsGlobal

Full Usage: this.IsGlobal

Returns: bool
Returns: bool

this.IsSession

Full Usage: this.IsSession

Returns: bool
Returns: bool

Type something to start searching.