Skip to main content

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
TypeName
ServiceStack.Auth.IUserAuthnewUser
System.Stringpassword
System.Threading.CancellationTokentoken

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
TypeName
ServiceStack.Auth.IUserAuthexistingUser
ServiceStack.Auth.IUserAuthnewUser
System.Threading.CancellationTokentoken

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
TypeName
ServiceStack.Auth.IUserAuthexistingUser
ServiceStack.Auth.IUserAuthnewUser
System.Stringpassword
System.Threading.CancellationTokentoken

GetUserAuthAsync(String, CancellationToken)

View Source
Declaration
Task<IUserAuth> GetUserAuthAsync(string userAuthId, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<ServiceStack.Auth.IUserAuth>

Parameters
TypeName
System.StringuserAuthId
System.Threading.CancellationTokentoken

DeleteUserAuthAsync(String, CancellationToken)

View Source
Declaration
Task DeleteUserAuthAsync(string userAuthId, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task

Parameters
TypeName
System.StringuserAuthId
System.Threading.CancellationTokentoken