Table of Contents

Class XapiScopes

Namespace
Xapi.Lrs
Assembly
Xapi.Lrs.dll

The names of the permissions a credential can be granted, for Scopes and the ScopeClaimType claim. They are the scopes of xAPI 1.0.3 (Communication, 4.2, "OAuth Authorization Scope"); IEEE 9274.1.1 leaves authorization to the LRS.

public static class XapiScopes
Inheritance
XapiScopes
Inherited Members

Remarks

Names are matched exactly, with case. New scopes may be added in a minor release.

Fields

All

all: unrestricted access.

public const string All = "all"

Field Value

string

AllRead

all/read: read everything.

public const string AllRead = "all/read"

Field Value

string

Define

define: update the canonical definitions of Activities and Agents from stored statements.

public const string Define = "define"

Field Value

string

Profile

profile: read and write Activity and Agent Profile documents, and read the Agents and Activities Resources.

public const string Profile = "profile"

Field Value

string

State

state: read and write State documents.

public const string State = "state"

Field Value

string

StatementsRead

statements/read: read any statement.

public const string StatementsRead = "statements/read"

Field Value

string

StatementsReadMine

statements/read/mine: read statements stored with the same authority.

public const string StatementsReadMine = "statements/read/mine"

Field Value

string

StatementsWrite

statements/write: store statements.

public const string StatementsWrite = "statements/write"

Field Value

string