Class TeamContext
Which team a request is about, and what the caller may do there.
public sealed record TeamContext : IEquatable<TeamContext>
- Inheritance
-
TeamContext
- Implements
- Inherited Members
Constructors
TeamContext(string, IReadOnlyList<string>, TeamContextRefusal)
Which team a request is about, and what the caller may do there.
public TeamContext(string TeamKey, IReadOnlyList<string> Scopes, TeamContextRefusal Refusal)
Parameters
TeamKeystringThe resolved team, or null when the request is not about one.
ScopesIReadOnlyList<string>Scopes to grant for it, or null when the caller's own claims already carry them.
RefusalTeamContextRefusalWhy it could not be resolved. None on success.
Properties
IsRefused
public bool IsRefused { get; }
Property Value
Refusal
Why it could not be resolved. None on success.
public TeamContextRefusal Refusal { get; init; }
Property Value
Scopes
Scopes to grant for it, or null when the caller's own claims already carry them.
public IReadOnlyList<string> Scopes { get; init; }
Property Value
TeamKey
The resolved team, or null when the request is not about one.
public string TeamKey { get; init; }