Table of Contents

Struct Scope

Namespace
Fdyay.AccessTokenManagement
Assembly
Fdyay.AccessTokenManagement.dll

The scope requested when this client asks for a token.

public readonly record struct Scope : IEquatable<Scope>
Implements
Inherited Members

Properties

Value

The space-separated scope string, as given to Parse(string).

public string Value { get; }

Property Value

string

Methods

Parse(string)

Wraps a string as a Scope.

public static Scope Parse(string value)

Parameters

value string

The space-separated scope string; must not be null, empty or whitespace.

Returns

Scope

The wrapped value.

Exceptions

ArgumentException

value is null, empty or whitespace.

ToString()

The wrapped string; the same as Value.

public override string ToString()

Returns

string

Value.