Class IdentityClientConfiguration
Inheritance
System.Object
IdentityClientConfiguration
Namespace: Volo.Abp.IdentityModel
Assembly: Volo.Abp.IdentityModel.dll
Syntax
public class IdentityClientConfiguration : Dictionary<string, string>
Constructors
IdentityClientConfiguration()
Declaration
public IdentityClientConfiguration()
IdentityClientConfiguration(String, String, String, String, String, String, String, Boolean, Int32)
Declaration
public IdentityClientConfiguration(string authority, string scope, string clientId, string clientSecret, string grantType = null, string userName = null, string userPassword = null, bool requireHttps = true, int cacheAbsoluteExpiration = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | authority | |
System.String | scope | |
System.String | clientId | |
System.String | clientSecret | |
System.String | grantType | |
System.String | userName | |
System.String | userPassword | |
System.Boolean | requireHttps | |
System.Int32 | cacheAbsoluteExpiration |
Properties
Authority
Authority.
Declaration
public string Authority { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CacheAbsoluteExpiration
Absolute expiration duration (as seconds) for the access token cache. Default: 1800 seconds (30 minutes)
Declaration
public int CacheAbsoluteExpiration { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ClientId
Client Id.
Declaration
public string ClientId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClientSecret
Client secret (as plain text - without hashed).
Declaration
public string ClientSecret { get; set; }
Property Value
Type | Description |
---|---|
System.String |
GrantType
Possible values: "client_credentials" or "password". Default value: "client_credentials".
Declaration
public string GrantType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RequireHttps
RequireHttps. Default: true.
Declaration
public bool RequireHttps { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Scope
Scope.
Declaration
public string Scope { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UserName
User name. Valid only if GrantType is "password".
Declaration
public string UserName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UserPassword
Declaration
public string UserPassword { get; set; }
Property Value
Type | Description |
---|---|
System.String |