UserAuthRepositoryAsyncWrapperExtensions
Assembly: ServiceStack.dll
View Source
Declaration
public static class UserAuthRepositoryAsyncWrapperExtensions
Methods
AsAsync(IAuthRepository)
Returns either the native IAuthRepositoryAsync provider or an IAuthRepositoryAsync sync-wrapped provider over IAuthRepository
View Source
Declaration
public static IAuthRepositoryAsync AsAsync(this IAuthRepository authRepo)
Returns
ServiceStack.Auth.IAuthRepositoryAsync
Parameters
Type | Name |
---|---|
ServiceStack.Auth.IAuthRepository | authRepo |
UnwrapAuthRepository(IAuthRepositoryAsync)
View Source
Declaration
public static IAuthRepository UnwrapAuthRepository(this IAuthRepositoryAsync asyncRepo)
Returns
ServiceStack.Auth.IAuthRepository
Parameters
Type | Name |
---|---|
ServiceStack.Auth.IAuthRepositoryAsync | asyncRepo |
TryGetNativeQueryAuth(IAuthRepository, IAuthRepositoryAsync, out IQueryUserAuth, out IQueryUserAuthAsync)
View Source
Declaration
public static bool TryGetNativeQueryAuth(this IAuthRepository syncRepo, IAuthRepositoryAsync asyncRepo, out IQueryUserAuth queryUserAuth, out IQueryUserAuthAsync queryUserAuthAsync)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ServiceStack.Auth.IAuthRepository | syncRepo |
ServiceStack.Auth.IAuthRepositoryAsync | asyncRepo |
ServiceStack.Auth.IQueryUserAuth | queryUserAuth |
ServiceStack.Auth.IQueryUserAuthAsync | queryUserAuthAsync |