Class Client
Inheritance
System.Object
Client
Assembly: Volo.Abp.IdentityServer.Domain.dll
Syntax
public class Client : FullAuditedAggregateRoot<Guid>
Constructors
Client()
Declaration
Client(Guid, String)
Declaration
public Client(Guid id, string clientId)
Parameters
| Type |
Name |
Description |
| System.Guid |
id |
|
| System.String |
clientId |
|
Properties
AbsoluteRefreshTokenLifetime
Declaration
public virtual int AbsoluteRefreshTokenLifetime { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
AccessTokenLifetime
Declaration
public virtual int AccessTokenLifetime { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
AccessTokenType
Declaration
public virtual int AccessTokenType { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
AllowAccessTokensViaBrowser
Declaration
public virtual bool AllowAccessTokensViaBrowser { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
AllowedCorsOrigins
Declaration
public virtual List<ClientCorsOrigin> AllowedCorsOrigins { get; set; }
Property Value
AllowedGrantTypes
Declaration
public virtual List<ClientGrantType> AllowedGrantTypes { get; set; }
Property Value
AllowedScopes
Declaration
public virtual List<ClientScope> AllowedScopes { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.List<ClientScope> |
|
AllowOfflineAccess
Declaration
public virtual bool AllowOfflineAccess { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
AllowPlainTextPkce
Declaration
public virtual bool AllowPlainTextPkce { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
AllowRememberConsent
Declaration
public virtual bool AllowRememberConsent { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
AlwaysIncludeUserClaimsInIdToken
Declaration
public virtual bool AlwaysIncludeUserClaimsInIdToken { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
AlwaysSendClientClaims
Declaration
public virtual bool AlwaysSendClientClaims { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
AuthorizationCodeLifetime
Declaration
public virtual int AuthorizationCodeLifetime { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
BackChannelLogoutSessionRequired
Declaration
public virtual bool BackChannelLogoutSessionRequired { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
BackChannelLogoutUri
Declaration
public virtual string BackChannelLogoutUri { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Claims
Declaration
public virtual List<ClientClaim> Claims { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.List<ClientClaim> |
|
ClientClaimsPrefix
Declaration
public virtual string ClientClaimsPrefix { get; set; }
Property Value
| Type |
Description |
| System.String |
|
ClientId
Declaration
public virtual string ClientId { get; set; }
Property Value
| Type |
Description |
| System.String |
|
ClientName
Declaration
public virtual string ClientName { get; set; }
Property Value
| Type |
Description |
| System.String |
|
ClientSecrets
Declaration
public virtual List<ClientSecret> ClientSecrets { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.List<ClientSecret> |
|
ClientUri
Declaration
public virtual string ClientUri { get; set; }
Property Value
| Type |
Description |
| System.String |
|
ConsentLifetime
Declaration
public virtual int? ConsentLifetime { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Int32> |
|
Description
Declaration
public virtual string Description { get; set; }
Property Value
| Type |
Description |
| System.String |
|
DeviceCodeLifetime
Declaration
public virtual int DeviceCodeLifetime { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
Enabled
Declaration
public virtual bool Enabled { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
EnableLocalLogin
Declaration
public virtual bool EnableLocalLogin { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
FrontChannelLogoutSessionRequired
Declaration
public virtual bool FrontChannelLogoutSessionRequired { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
FrontChannelLogoutUri
Declaration
public virtual string FrontChannelLogoutUri { get; set; }
Property Value
| Type |
Description |
| System.String |
|
IdentityProviderRestrictions
Declaration
public virtual List<ClientIdPRestriction> IdentityProviderRestrictions { get; set; }
Property Value
IdentityTokenLifetime
Declaration
public virtual int IdentityTokenLifetime { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
IncludeJwtId
Declaration
public virtual bool IncludeJwtId { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
LogoUri
Declaration
public virtual string LogoUri { get; set; }
Property Value
| Type |
Description |
| System.String |
|
PairWiseSubjectSalt
Declaration
public virtual string PairWiseSubjectSalt { get; set; }
Property Value
| Type |
Description |
| System.String |
|
PostLogoutRedirectUris
Declaration
public virtual List<ClientPostLogoutRedirectUri> PostLogoutRedirectUris { get; set; }
Property Value
Properties
Declaration
public virtual List<ClientProperty> Properties { get; set; }
Property Value
ProtocolType
Declaration
public virtual string ProtocolType { get; set; }
Property Value
| Type |
Description |
| System.String |
|
RedirectUris
Declaration
public virtual List<ClientRedirectUri> RedirectUris { get; set; }
Property Value
RefreshTokenExpiration
Declaration
public virtual int RefreshTokenExpiration { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
RefreshTokenUsage
Declaration
public virtual int RefreshTokenUsage { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
RequireClientSecret
Declaration
public virtual bool RequireClientSecret { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
RequireConsent
Declaration
public virtual bool RequireConsent { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
RequirePkce
Declaration
public virtual bool RequirePkce { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
SlidingRefreshTokenLifetime
Declaration
public virtual int SlidingRefreshTokenLifetime { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
UpdateAccessTokenClaimsOnRefresh
Declaration
public virtual bool UpdateAccessTokenClaimsOnRefresh { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
UserCodeType
Declaration
public virtual string UserCodeType { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Declaration
public virtual int? UserSsoLifetime { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Int32> |
|
Methods
AddClaim(String, String)
Declaration
public virtual void AddClaim(string value, string type)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
| System.String |
type |
|
AddCorsOrigin(String)
Declaration
public virtual void AddCorsOrigin(string origin)
Parameters
| Type |
Name |
Description |
| System.String |
origin |
|
AddGrantType(String)
Declaration
public virtual void AddGrantType(string grantType)
Parameters
| Type |
Name |
Description |
| System.String |
grantType |
|
AddIdentityProviderRestriction(String)
Declaration
public virtual void AddIdentityProviderRestriction(string provider)
Parameters
| Type |
Name |
Description |
| System.String |
provider |
|
AddPostLogoutRedirectUri(String)
Declaration
public virtual void AddPostLogoutRedirectUri(string postLogoutRedirectUri)
Parameters
| Type |
Name |
Description |
| System.String |
postLogoutRedirectUri |
|
AddProperty(String, String)
Declaration
public virtual void AddProperty(string key, string value)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
| System.String |
value |
|
AddRedirectUri(String)
Declaration
public virtual void AddRedirectUri(string redirectUri)
Parameters
| Type |
Name |
Description |
| System.String |
redirectUri |
|
AddScope(String)
Declaration
public virtual void AddScope(string scope)
Parameters
| Type |
Name |
Description |
| System.String |
scope |
|
AddSecret(String, Nullable<DateTime>, String, String)
Declaration
public virtual void AddSecret(string value, DateTime? expiration = default(DateTime? ), string type = null, string description = null)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
| System.Nullable<System.DateTime> |
expiration |
|
| System.String |
type |
|
| System.String |
description |
|
FindClaim(String, String)
Declaration
public virtual ClientClaim FindClaim(string value, string type)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
| System.String |
type |
|
Returns
FindCorsOrigin(String)
Declaration
public virtual ClientCorsOrigin FindCorsOrigin(string uri)
Parameters
| Type |
Name |
Description |
| System.String |
uri |
|
Returns
FindGrantType(String)
Declaration
public virtual ClientGrantType FindGrantType(string grantType)
Parameters
| Type |
Name |
Description |
| System.String |
grantType |
|
Returns
FindIdentityProviderRestriction(String)
Declaration
public virtual ClientIdPRestriction FindIdentityProviderRestriction(string provider)
Parameters
| Type |
Name |
Description |
| System.String |
provider |
|
Returns
FindPostLogoutRedirectUri(String)
Declaration
public virtual ClientPostLogoutRedirectUri FindPostLogoutRedirectUri(string uri)
Parameters
| Type |
Name |
Description |
| System.String |
uri |
|
Returns
FindProperty(String, String)
Declaration
public virtual ClientProperty FindProperty(string key, string value)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
| System.String |
value |
|
Returns
FindRedirectUri(String)
Declaration
public virtual ClientRedirectUri FindRedirectUri(string uri)
Parameters
| Type |
Name |
Description |
| System.String |
uri |
|
Returns
FindScope(String)
Declaration
public virtual ClientScope FindScope(string scope)
Parameters
| Type |
Name |
Description |
| System.String |
scope |
|
Returns
FindSecret(String, String)
Declaration
public virtual ClientSecret FindSecret(string value, string type = null)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
| System.String |
type |
|
Returns
RemoveAllAllowedGrantTypes()
Declaration
public virtual void RemoveAllAllowedGrantTypes()
RemoveAllClaims()
Declaration
public virtual void RemoveAllClaims()
RemoveAllCorsOrigins()
Declaration
public virtual void RemoveAllCorsOrigins()
RemoveAllIdentityProviderRestrictions()
Declaration
public virtual void RemoveAllIdentityProviderRestrictions()
RemoveAllPostLogoutRedirectUris()
Declaration
public virtual void RemoveAllPostLogoutRedirectUris()
RemoveAllProperties()
Declaration
public virtual void RemoveAllProperties()
RemoveAllRedirectUris()
Declaration
public virtual void RemoveAllRedirectUris()
RemoveAllScopes()
Declaration
public virtual void RemoveAllScopes()
RemoveClaim(String, String)
Declaration
public virtual void RemoveClaim(string value, string type)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
| System.String |
type |
|
RemoveCorsOrigin(String)
Declaration
public virtual void RemoveCorsOrigin(string uri)
Parameters
| Type |
Name |
Description |
| System.String |
uri |
|
RemoveGrantType(String)
Declaration
public virtual void RemoveGrantType(string grantType)
Parameters
| Type |
Name |
Description |
| System.String |
grantType |
|
RemoveIdentityProviderRestriction(String)
Declaration
public virtual void RemoveIdentityProviderRestriction(string provider)
Parameters
| Type |
Name |
Description |
| System.String |
provider |
|
RemovePostLogoutRedirectUri(String)
Declaration
public virtual void RemovePostLogoutRedirectUri(string uri)
Parameters
| Type |
Name |
Description |
| System.String |
uri |
|
RemoveProperty(String, String)
Declaration
public virtual void RemoveProperty(string key, string value)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
| System.String |
value |
|
RemoveRedirectUri(String)
Declaration
public virtual void RemoveRedirectUri(string uri)
Parameters
| Type |
Name |
Description |
| System.String |
uri |
|
RemoveScope(String)
Declaration
public virtual void RemoveScope(string scope)
Parameters
| Type |
Name |
Description |
| System.String |
scope |
|
RemoveSecret(String, String)
Declaration
public virtual void RemoveSecret(string value, string type = null)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
| System.String |
type |
|
Extension Methods