C# Класс IdentityAdmin.Host.InMemoryService.InMemoryIdentityManagerService

Наследование: IIdentityAdminService
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Config MapperConfiguration
Mapper IMapper

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
GetMetadata ( ) : IdentityAdmin.Core.Metadata.IdentityAdminMetadata
IIdentityAdminService ( ) : Task
ValidateRoleProperties ( IEnumerable properties ) : IEnumerable
ValidateRoleProperty ( string type, string value ) : IEnumerable

Описание методов

AddClientClaimAsync() публичный Метод

public AddClientClaimAsync ( string subject, string type, string value ) : Task
subject string
type string
value string
Результат Task

AddClientCorsOriginAsync() публичный Метод

public AddClientCorsOriginAsync ( string subject, string origin ) : Task
subject string
origin string
Результат Task

AddClientCustomGrantTypeAsync() публичный Метод

public AddClientCustomGrantTypeAsync ( string subject, string grantType ) : Task
subject string
grantType string
Результат Task

AddClientIdPRestrictionAsync() публичный Метод

public AddClientIdPRestrictionAsync ( string subject, string provider ) : Task
subject string
provider string
Результат Task

AddClientRedirectUriAsync() публичный Метод

public AddClientRedirectUriAsync ( string subject, string uri ) : Task
subject string
uri string
Результат Task

AddClientScopeAsync() публичный Метод

public AddClientScopeAsync ( string subject, string scope ) : Task
subject string
scope string
Результат Task

AddClientSecretAsync() публичный Метод

public AddClientSecretAsync ( string subject, string type, string value ) : Task
subject string
type string
value string
Результат Task

AddPostLogoutRedirectUriAsync() публичный Метод

public AddPostLogoutRedirectUriAsync ( string subject, string uri ) : Task
subject string
uri string
Результат Task

AddScopeClaimAsync() публичный Метод

public AddScopeClaimAsync ( string subject, string name, string description, bool alwaysIncludeInIdToken ) : Task
subject string
name string
description string
alwaysIncludeInIdToken bool
Результат Task

AddScopeSecretAsync() публичный Метод

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
Результат Task

CreateClientAsync() публичный Метод

public CreateClientAsync ( IEnumerable properties ) : Task>
properties IEnumerable
Результат Task>

CreateScopeAsync() публичный Метод

public CreateScopeAsync ( IEnumerable properties ) : Task>
properties IEnumerable
Результат Task>

DeleteClientAsync() публичный Метод

public DeleteClientAsync ( string subject ) : Task
subject string
Результат Task

DeleteScopeAsync() публичный Метод

public DeleteScopeAsync ( string subject ) : Task
subject string
Результат Task

GetClientAsync() публичный Метод

public GetClientAsync ( string subject ) : Task>
subject string
Результат Task>

GetClientProperty() защищенный Метод

protected GetClientProperty ( PropertyMetadata propMetadata, InMemoryClient client ) : string
propMetadata PropertyMetadata
client InMemoryClient
Результат string

GetScopeAsync() публичный Метод

public GetScopeAsync ( string subject ) : Task>
subject string
Результат Task>

GetScopeProperty() защищенный Метод

protected GetScopeProperty ( PropertyMetadata propMetadata, InMemoryScope scope ) : string
propMetadata PropertyMetadata
scope InMemoryScope
Результат string

InMemoryIdentityManagerService() публичный Метод

public InMemoryIdentityManagerService ( ICollection scopes, ICollection clients ) : System
scopes ICollection
clients ICollection
Результат System

QueryClientsAsync() публичный Метод

public QueryClientsAsync ( string filter, int start, int count ) : Task>>
filter string
start int
count int
Результат Task>>

QueryScopesAsync() публичный Метод

public QueryScopesAsync ( string filter, int start, int count ) : Task>>
filter string
start int
count int
Результат Task>>

RemoveClientClaimAsync() публичный Метод

public RemoveClientClaimAsync ( string subject, string id ) : Task
subject string
id string
Результат Task

RemoveClientCorsOriginAsync() публичный Метод

public RemoveClientCorsOriginAsync ( string subject, string id ) : Task
subject string
id string
Результат Task

RemoveClientCustomGrantTypeAsync() публичный Метод

public RemoveClientCustomGrantTypeAsync ( string subject, string id ) : Task
subject string
id string
Результат Task

RemoveClientIdPRestrictionAsync() публичный Метод

public RemoveClientIdPRestrictionAsync ( string subject, string id ) : Task
subject string
id string
Результат Task

RemoveClientRedirectUriAsync() публичный Метод

public RemoveClientRedirectUriAsync ( string subject, string id ) : Task
subject string
id string
Результат Task

RemoveClientScopeAsync() публичный Метод

public RemoveClientScopeAsync ( string subject, string id ) : Task
subject string
id string
Результат Task

RemoveClientSecretAsync() публичный Метод

public RemoveClientSecretAsync ( string subject, string id ) : Task
subject string
id string
Результат Task

RemovePostLogoutRedirectUriAsync() публичный Метод

public RemovePostLogoutRedirectUriAsync ( string subject, string id ) : Task
subject string
id string
Результат Task

RemoveScopeClaimAsync() публичный Метод

public RemoveScopeClaimAsync ( string subject, string id ) : Task
subject string
id string
Результат Task

RemoveScopeSecretAsync() публичный Метод

public RemoveScopeSecretAsync ( string subject, string id ) : Task
subject string
id string
Результат Task

SetClientProperty() защищенный Метод

protected SetClientProperty ( IEnumerable propsMeta, InMemoryClient client, string type, string value ) : IdentityAdmin.Core.IdentityAdminResult
propsMeta IEnumerable
client InMemoryClient
type string
value string
Результат IdentityAdmin.Core.IdentityAdminResult

SetClientPropertyAsync() публичный Метод

public SetClientPropertyAsync ( string subject, string type, string value ) : Task
subject string
type string
value string
Результат Task

SetScopeProperty() защищенный Метод

protected SetScopeProperty ( IEnumerable propsMeta, InMemoryScope scope, string type, string value ) : IdentityAdmin.Core.IdentityAdminResult
propsMeta IEnumerable
scope InMemoryScope
type string
value string
Результат IdentityAdmin.Core.IdentityAdminResult

SetScopePropertyAsync() публичный Метод

public SetScopePropertyAsync ( string subject, string type, string value ) : Task
subject string
type string
value string
Результат Task

UpdateScopeClaim() публичный Метод

public UpdateScopeClaim ( string subject, string scopeClaimSubject, string name, string description, bool alwaysIncludeInIdToken ) : Task
subject string
scopeClaimSubject string
name string
description string
alwaysIncludeInIdToken bool
Результат Task

UpdateScopeSecret() публичный Метод

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
Результат Task

Описание свойств

Config публичное статическое свойство

public static MapperConfiguration Config
Результат MapperConfiguration

Mapper публичное статическое свойство

public static IMapper Mapper
Результат IMapper