Table of Contents

Class TokenGrantAudienceOverride

Namespace
OpenShell
Assembly
OpenShell.Sdk.dll

Endpoint-specific audience override for a token grant.

public sealed record TokenGrantAudienceOverride : IEquatable<TokenGrantAudienceOverride>
Inheritance
TokenGrantAudienceOverride
Implements
Inherited Members

Constructors

TokenGrantAudienceOverride(string, uint, string, string, IReadOnlyList<string>)

Endpoint-specific audience override for a token grant.

public TokenGrantAudienceOverride(string Host, uint Port, string Path, string Audience, IReadOnlyList<string> Scopes)

Parameters

Host string

The endpoint host to match; empty inherits the profile endpoint host.

Port uint

The endpoint port to match; zero matches the profile endpoint port.

Path string

The endpoint path to match; empty inherits the profile endpoint path.

Audience string

The resource audience to request for matching endpoints.

Scopes IReadOnlyList<string>

The OAuth2 scopes to request; empty inherits the token grant scopes.

Properties

Audience

The resource audience to request for matching endpoints.

public string Audience { get; init; }

Property Value

string

Host

The endpoint host to match; empty inherits the profile endpoint host.

public string Host { get; init; }

Property Value

string

Path

The endpoint path to match; empty inherits the profile endpoint path.

public string Path { get; init; }

Property Value

string

Port

The endpoint port to match; zero matches the profile endpoint port.

public uint Port { get; init; }

Property Value

uint

Scopes

The OAuth2 scopes to request; empty inherits the token grant scopes.

public IReadOnlyList<string> Scopes { get; init; }

Property Value

IReadOnlyList<string>