Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
OAuthClientInformation.cs
1using System;
4
6{
10 [CollectionName("OAuthClients")]
11 [TypeName(TypeNameSerialization.None)]
12 [Index("ClientId")]
13 [Index("RemoteEndPoint")]
15 {
20 {
21 }
22
26 [ObjectId]
27 public string? ObjectId { get; set; } = null;
28
32 public string? ClientId { get; set; } = null;
33
37 public DateTime? ClientSecretExpiresAt { get; set; } = null;
38
42 public string? AccessToken { get; set; } = null;
43
47 public DateTime Created { get; set; } = DateTime.MinValue;
48
52 public DateTime Updated { get; set; } = DateTime.MinValue;
53
57 public string RemoteEndPoint { get; set; } = string.Empty;
58
63 public string[]? RedirectUris { get; set; }
64
69 public string[]? GrantTypes { get; set; }
70
75 public string[]? ResponseTypes { get; set; }
76
81 public string? TokenEndpointAuthMethod { get; set; }
82
87 public string? ClientName { get; set; }
88
95 public string? SoftwareId { get; set; }
96
101 public string? SoftwareVersion { get; set; }
102
106 public string? ClientUri { get; set; }
107
111 public string? LogoUri { get; set; }
112
119 public string? TosUri { get; set; }
120
126 public string? PolicyUri { get; set; }
127
132 public string? JwksUri { get; set; }
133
138 public string[]? Scopes { get; set; }
139
144 public string[]? Contacts { get; set; }
145
150 public Dictionary<string, object?>? Jwks { get; set; }
151
155 public Dictionary<string, object?>? MetaData { get; set; }
156 }
157}
Contains information about an OAuth client, as defined in RFC 7591.
DateTime? ClientSecretExpiresAt
When the client secret expires, if one is defined.
string RemoteEndPoint
Remote endpoint of client making the registration request.
string? TosUri
URL string that points to a human-readable terms of service document for the client that describes a ...
DateTime Updated
When the client information was last updated.
DateTime Created
When the client information was created.
string? LogoUri
URL string that references a logo for the client.
string?[] GrantTypes
Array of OAuth 2.0 grant type strings that the client can use at the token endpoint.
string? SoftwareVersion
A version identifier string for the client software identified by "software_id".
string? AccessToken
Access token required to update or delete the client information object.
string? PolicyUri
URL string that points to a human-readable privacy policy document that describes how the deployment ...
string?[] Scopes
List of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use whe...
string? TokenEndpointAuthMethod
String indicator of the requested authentication method for the token endpoint.
string?[] Contacts
Array of strings representing ways to contact people responsible for this client, typically email add...
string?[] RedirectUris
Array of redirection URI strings for use in redirect-based flows such as the authorization code and i...
string? ObjectId
Object ID of the client information object in the database.
string? ClientName
Human-readable string name of the client to be presented to the end-user during authorization.
OAuthClientInformation()
Contains information about an OAuth client, as defined in RFC 7591.
string? ClientUri
URL string of a web page providing information about the client.
string? SoftwareId
A unique identifier string (e.g., a Universally Unique Identifier (UUID)) assigned by the client deve...
string? JwksUri
URL string referencing the client's JSON Web Key (JWK) Set [RFC7517] document, which contains the cli...
Dictionary< string, object?>? Jwks
Client's JSON Web Key Set [RFC7517] document value, which contains the client's public keys.
Dictionary< string, object?>? MetaData
Additional meta-data available in the request.
string?[] ResponseTypes
Array of the OAuth 2.0 response type strings that the client can use at the authorization endpoint.
TypeNameSerialization
How the type name should be serialized.