C# Class IdentityAdmin.Host.InMemoryService.InMemoryIdentityManagerService

Inheritance: IIdentityAdminService
ファイルを表示 Open project: IdentityServer/IdentityServer3.Admin

Public Properties

Property Type Description
Config MapperConfiguration
Mapper IMapper

Public Methods

Method Description
AddClientClaimAsync ( string subject, string type, string value ) : Task
AddClientCorsOriginAsync ( string subject, string origin ) : Task
AddClientCustomGrantTypeAsync ( string subject, string grantType ) : Task
AddClientIdPRestrictionAsync ( string subject, string provider ) : Task
AddClientRedirectUriAsync ( string subject, string uri ) : Task
AddClientScopeAsync ( string subject, string scope ) : Task
AddClientSecretAsync ( string subject, string type, string value ) : Task
AddPostLogoutRedirectUriAsync ( string subject, string uri ) : Task
AddScopeClaimAsync ( string subject, string name, string description, bool alwaysIncludeInIdToken ) : Task
AddScopeSecretAsync ( string subject, string type, string value, string description, System.DateTime expiration ) : Task
CreateClientAsync ( IEnumerable properties ) : Task>
CreateScopeAsync ( IEnumerable properties ) : Task>
DeleteClientAsync ( string subject ) : Task
DeleteScopeAsync ( string subject ) : Task
GetClientAsync ( string subject ) : Task>
GetScopeAsync ( string subject ) : Task>
InMemoryIdentityManagerService ( ICollection scopes, ICollection clients ) : System
QueryClientsAsync ( string filter, int start, int count ) : Task>>
QueryScopesAsync ( string filter, int start, int count ) : Task>>
RemoveClientClaimAsync ( string subject, string id ) : Task
RemoveClientCorsOriginAsync ( string subject, string id ) : Task
RemoveClientCustomGrantTypeAsync ( string subject, string id ) : Task
RemoveClientIdPRestrictionAsync ( string subject, string id ) : Task
RemoveClientRedirectUriAsync ( string subject, string id ) : Task
RemoveClientScopeAsync ( string subject, string id ) : Task
RemoveClientSecretAsync ( string subject, string id ) : Task
RemovePostLogoutRedirectUriAsync ( string subject, string id ) : Task
RemoveScopeClaimAsync ( string subject, string id ) : Task
RemoveScopeSecretAsync ( string subject, string id ) : Task
SetClientPropertyAsync ( string subject, string type, string value ) : Task
SetScopePropertyAsync ( string subject, string type, string value ) : Task
UpdateScopeClaim ( string subject, string scopeClaimSubject, string name, string description, bool alwaysIncludeInIdToken ) : Task
UpdateScopeSecret ( string subject, string scopeSecretSubject, string type, string value, string description, System.DateTime expiration ) : Task

Protected Methods

Method Description
GetClientProperty ( PropertyMetadata propMetadata, InMemoryClient client ) : string
GetScopeProperty ( PropertyMetadata propMetadata, InMemoryScope scope ) : string
SetClientProperty ( IEnumerable propsMeta, InMemoryClient client, string type, string value ) : IdentityAdmin.Core.IdentityAdminResult
SetScopeProperty ( IEnumerable propsMeta, InMemoryScope scope, string type, string value ) : IdentityAdmin.Core.IdentityAdminResult

Private Methods

Method Description
GetMetadata ( ) : IdentityAdmin.Core.Metadata.IdentityAdminMetadata
IIdentityAdminService ( ) : Task
ValidateRoleProperties ( IEnumerable properties ) : IEnumerable
ValidateRoleProperty ( string type, string value ) : IEnumerable

Method Details

AddClientClaimAsync() public method

public AddClientClaimAsync ( string subject, string type, string value ) : Task
subject string
type string
value string
return Task

AddClientCorsOriginAsync() public method

public AddClientCorsOriginAsync ( string subject, string origin ) : Task
subject string
origin string
return Task

AddClientCustomGrantTypeAsync() public method

public AddClientCustomGrantTypeAsync ( string subject, string grantType ) : Task
subject string
grantType string
return Task

AddClientIdPRestrictionAsync() public method

public AddClientIdPRestrictionAsync ( string subject, string provider ) : Task
subject string
provider string
return Task

AddClientRedirectUriAsync() public method

public AddClientRedirectUriAsync ( string subject, string uri ) : Task
subject string
uri string
return Task

AddClientScopeAsync() public method

public AddClientScopeAsync ( string subject, string scope ) : Task
subject string
scope string
return Task

AddClientSecretAsync() public method

public AddClientSecretAsync ( string subject, string type, string value ) : Task
subject string
type string
value string
return Task

AddPostLogoutRedirectUriAsync() public method

public AddPostLogoutRedirectUriAsync ( string subject, string uri ) : Task
subject string
uri string
return Task

AddScopeClaimAsync() public method

public AddScopeClaimAsync ( string subject, string name, string description, bool alwaysIncludeInIdToken ) : Task
subject string
name string
description string
alwaysIncludeInIdToken bool
return Task

AddScopeSecretAsync() public method

public AddScopeSecretAsync ( string subject, string type, string value, string description, System.DateTime expiration ) : Task
subject string
type string
value string
description string
expiration System.DateTime
return Task

CreateClientAsync() public method

public CreateClientAsync ( IEnumerable properties ) : Task>
properties IEnumerable
return Task>

CreateScopeAsync() public method

public CreateScopeAsync ( IEnumerable properties ) : Task>
properties IEnumerable
return Task>

DeleteClientAsync() public method

public DeleteClientAsync ( string subject ) : Task
subject string
return Task

DeleteScopeAsync() public method

public DeleteScopeAsync ( string subject ) : Task
subject string
return Task

GetClientAsync() public method

public GetClientAsync ( string subject ) : Task>
subject string
return Task>

GetClientProperty() protected method

protected GetClientProperty ( PropertyMetadata propMetadata, InMemoryClient client ) : string
propMetadata PropertyMetadata
client InMemoryClient
return string

GetScopeAsync() public method

public GetScopeAsync ( string subject ) : Task>
subject string
return Task>

GetScopeProperty() protected method

protected GetScopeProperty ( PropertyMetadata propMetadata, InMemoryScope scope ) : string
propMetadata PropertyMetadata
scope InMemoryScope
return string

InMemoryIdentityManagerService() public method

public InMemoryIdentityManagerService ( ICollection scopes, ICollection clients ) : System
scopes ICollection
clients ICollection
return System

QueryClientsAsync() public method

public QueryClientsAsync ( string filter, int start, int count ) : Task>>
filter string
start int
count int
return Task>>

QueryScopesAsync() public method

public QueryScopesAsync ( string filter, int start, int count ) : Task>>
filter string
start int
count int
return Task>>

RemoveClientClaimAsync() public method

public RemoveClientClaimAsync ( string subject, string id ) : Task
subject string
id string
return Task

RemoveClientCorsOriginAsync() public method

public RemoveClientCorsOriginAsync ( string subject, string id ) : Task
subject string
id string
return Task

RemoveClientCustomGrantTypeAsync() public method

public RemoveClientCustomGrantTypeAsync ( string subject, string id ) : Task
subject string
id string
return Task

RemoveClientIdPRestrictionAsync() public method

public RemoveClientIdPRestrictionAsync ( string subject, string id ) : Task
subject string
id string
return Task

RemoveClientRedirectUriAsync() public method

public RemoveClientRedirectUriAsync ( string subject, string id ) : Task
subject string
id string
return Task

RemoveClientScopeAsync() public method

public RemoveClientScopeAsync ( string subject, string id ) : Task
subject string
id string
return Task

RemoveClientSecretAsync() public method

public RemoveClientSecretAsync ( string subject, string id ) : Task
subject string
id string
return Task

RemovePostLogoutRedirectUriAsync() public method

public RemovePostLogoutRedirectUriAsync ( string subject, string id ) : Task
subject string
id string
return Task

RemoveScopeClaimAsync() public method

public RemoveScopeClaimAsync ( string subject, string id ) : Task
subject string
id string
return Task

RemoveScopeSecretAsync() public method

public RemoveScopeSecretAsync ( string subject, string id ) : Task
subject string
id string
return Task

SetClientProperty() protected method

protected SetClientProperty ( IEnumerable propsMeta, InMemoryClient client, string type, string value ) : IdentityAdmin.Core.IdentityAdminResult
propsMeta IEnumerable
client InMemoryClient
type string
value string
return IdentityAdmin.Core.IdentityAdminResult

SetClientPropertyAsync() public method

public SetClientPropertyAsync ( string subject, string type, string value ) : Task
subject string
type string
value string
return Task

SetScopeProperty() protected method

protected SetScopeProperty ( IEnumerable propsMeta, InMemoryScope scope, string type, string value ) : IdentityAdmin.Core.IdentityAdminResult
propsMeta IEnumerable
scope InMemoryScope
type string
value string
return IdentityAdmin.Core.IdentityAdminResult

SetScopePropertyAsync() public method

public SetScopePropertyAsync ( string subject, string type, string value ) : Task
subject string
type string
value string
return Task

UpdateScopeClaim() public method

public UpdateScopeClaim ( string subject, string scopeClaimSubject, string name, string description, bool alwaysIncludeInIdToken ) : Task
subject string
scopeClaimSubject string
name string
description string
alwaysIncludeInIdToken bool
return Task

UpdateScopeSecret() public method

public UpdateScopeSecret ( string subject, string scopeSecretSubject, string type, string value, string description, System.DateTime expiration ) : Task
subject string
scopeSecretSubject string
type string
value string
description string
expiration System.DateTime
return Task

Property Details

Config public_oe static_oe property

public static MapperConfiguration Config
return MapperConfiguration

Mapper public_oe static_oe property

public static IMapper Mapper
return IMapper