Class OAuthConsent
What the calling user allowed an OAuth app on the consent page. An app is not asked about it again; withdrawn with DeleteOAuthConsentAsync(IOpenBiApiClient, string, CancellationToken), the app's tokens for the user go with it.
public sealed record OAuthConsent : IOAuthConsent
- Inheritance
-
objectOAuthConsent
- Implements
Properties
AppId
The app's id, its client_id.
[JsonPropertyName("appId")]
public string? AppId { get; init; }
Property Value
- string
AppName
The app's name, as the consent page showed it.
[JsonPropertyName("appName")]
public string? AppName { get; init; }
Property Value
- string
Created
When the user first allowed the app.
[JsonPropertyName("created")]
public DateTimeOffset Created { get; init; }
Property Value
- DateTimeOffset
Modified
When the user last allowed the app more.
[JsonPropertyName("modified")]
public DateTimeOffset Modified { get; init; }
Property Value
- DateTimeOffset
Scope
The permission ids the user allowed the app, space delimited - every one allowed so far.
[JsonPropertyName("scope")]
public string? Scope { get; init; }
Property Value
- string