Skip to main content

RegisterUserAuthServiceBase

Register Base class for IAuthRepository / IUserAuth users

Assembly: ServiceStack.dll​
View Source​
Declaration
public abstract class RegisterUserAuthServiceBase : RegisterServiceBase, IService, IServiceBase, IRequiresRequest, IResolver, IDisposable, IServiceFilters, IServiceBeforeFilter, IServiceAfterFilter, IServiceErrorFilter

Properties​

RegistrationValidator​

View Source​
Declaration
public IValidator<Register> RegistrationValidator { get; set; }

Methods​

ToUser(Register)​

View Source​
Declaration
protected virtual IUserAuth ToUser(Register request)
Returns​

ServiceStack.Auth.IUserAuth

Parameters​
TypeName
ServiceStack.Registerrequest

UserExistsAsync(IAuthSession)​

View Source​
Declaration
protected virtual async Task<bool> UserExistsAsync(IAuthSession session)
Returns​

System.Threading.Tasks.Task<System.Boolean>

Parameters​
TypeName
ServiceStack.Auth.IAuthSessionsession

ValidateAndThrowAsync(Register)​

View Source​
Declaration
protected virtual async Task ValidateAndThrowAsync(Register request)
Returns​

System.Threading.Tasks.Task

Parameters​
TypeName
ServiceStack.Registerrequest

RegisterNewUserAsync(IAuthSession, IUserAuth)​

View Source​
Declaration
protected virtual async Task RegisterNewUserAsync(IAuthSession session, IUserAuth user)
Returns​

System.Threading.Tasks.Task

Parameters​
TypeName
ServiceStack.Auth.IAuthSessionsession
ServiceStack.Auth.IUserAuthuser

Inherited Methods​

CreateRegisterResponse(IAuthSession, String, String, Nullable<Boolean>)​

View Source​
Declaration
protected virtual async Task<object> CreateRegisterResponse(IAuthSession session, string userName, string password, bool? autoLogin = null)
Returns​

System.Threading.Tasks.Task<System.Object>

Parameters​
TypeName
ServiceStack.Auth.IAuthSessionsession
System.StringuserName
System.Stringpassword
System.Nullable<System.Boolean>autoLogin

Implements​