live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/me-client


@orangecheck/me-client / GrantedResult

Interface: GrantedResult

Defined in: me-client/src/scope.ts:54

Properties

PropertyTypeDescriptionDefined in
<a id="property-scopes"></a> scopesPartial&lt;Record&lt;Scope, string>>Resolved values for the granted scopes. Only fields whose scope is in scopes_granted are present.me-client/src/scope.ts:64
<a id="property-scopes_granted"></a> scopes_grantedScope[]Scopes the user has actively granted to this project. Subset of the requested scopes, filtered for not-revoked + not-expired.me-client/src/scope.ts:61
<a id="property-sub"></a> substringPer-integrator stable subject for the currently-signed-in user. This is what your backend should key user records on (NOT the master addr · which OC doesn't reveal).me-client/src/scope.ts:58