IUserAuthRepositoryAsync
Assembly: ServiceStack.dll
View Source
Declaration
public interface IUserAuthRepositoryAsync : IAuthRepositoryAsync
Methods
CreateUserAuthAsync(IUserAuth, String, CancellationToken)
View Source
Declaration
Task<IUserAuth> CreateUserAuthAsync(IUserAuth newUser, string password, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<ServiceStack.Auth.IUserAuth>
Parameters
Type | Name |
---|---|
ServiceStack.Auth.IUserAuth | newUser |
System.String | password |
System.Threading.CancellationToken | token |
UpdateUserAuthAsync(IUserAuth, IUserAuth, CancellationToken)
View Source
Declaration
Task<IUserAuth> UpdateUserAuthAsync(IUserAuth existingUser, IUserAuth newUser, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<ServiceStack.Auth.IUserAuth>
Parameters
Type | Name |
---|---|
ServiceStack.Auth.IUserAuth | existingUser |
ServiceStack.Auth.IUserAuth | newUser |
System.Threading.CancellationToken | token |
UpdateUserAuthAsync(IUserAuth, IUserAuth, String, CancellationToken)
View Source
Declaration
Task<IUserAuth> UpdateUserAuthAsync(IUserAuth existingUser, IUserAuth newUser, string password, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<ServiceStack.Auth.IUserAuth>
Parameters
Type | Name |
---|---|
ServiceStack.Auth.IUserAuth | existingUser |
ServiceStack.Auth.IUserAuth | newUser |
System.String | password |
System.Threading.CancellationToken | token |
GetUserAuthAsync(String, CancellationToken)
View Source
Declaration
Task<IUserAuth> GetUserAuthAsync(string userAuthId, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<ServiceStack.Auth.IUserAuth>
Parameters
Type | Name |
---|---|
System.String | userAuthId |
System.Threading.CancellationToken | token |
DeleteUserAuthAsync(String, CancellationToken)
View Source
Declaration
Task DeleteUserAuthAsync(string userAuthId, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
System.String | userAuthId |
System.Threading.CancellationToken | token |