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
Methods
Parse(string)
Wraps a string as a Scope.
public static Scope Parse(string value)
Parameters
valuestringThe space-separated scope string; must not be null, empty or whitespace.
Returns
- Scope
The wrapped value.
Exceptions
- ArgumentException
valueis null, empty or whitespace.
ToString()
The wrapped string; the same as Value.
public override string ToString()