View Source
Class BackOfficeUserClientCredentialsManager
Assembly: Umbraco.Infrastructure.dll
Syntax
public sealed class BackOfficeUserClientCredentialsManager : ClientCredentialsManagerBase, IBackOfficeUserClientCredentialsManager
Constructors
View Source
BackOfficeUserClientCredentialsManager(IBackOfficeUserManager, IBackOfficeApplicationManager, IUserService)
Declaration
public BackOfficeUserClientCredentialsManager(IBackOfficeUserManager backOfficeUserManager, IBackOfficeApplicationManager backOfficeApplicationManager, IUserService userService)
Parameters
Properties
View Source
ClientIdPrefix
Declaration
protected override string ClientIdPrefix { get; }
Property Value
Methods
View Source
DeleteAsync(Guid, string)
Declaration
public Task<Attempt<BackOfficeUserClientCredentialsOperationStatus>> DeleteAsync(Guid userKey, string clientId)
Parameters
| Type |
Name |
Description |
| Guid |
userKey |
|
| string |
clientId |
|
Returns
View Source
FindUserAsync(string)
Declaration
public Task<BackOfficeIdentityUser?> FindUserAsync(string clientId)
Parameters
| Type |
Name |
Description |
| string |
clientId |
|
Returns
View Source
GetClientIdsAsync(Guid)
Declaration
public Task<IEnumerable<string>> GetClientIdsAsync(Guid userKey)
Parameters
| Type |
Name |
Description |
| Guid |
userKey |
|
Returns
| Type |
Description |
| Task<IEnumerable<string>> |
|
View Source
SaveAsync(Guid, string, string)
Declaration
public Task<Attempt<BackOfficeUserClientCredentialsOperationStatus>> SaveAsync(Guid userKey, string clientId, string clientSecret)
Parameters
| Type |
Name |
Description |
| Guid |
userKey |
|
| string |
clientId |
|
| string |
clientSecret |
|
Returns