Skip to main content

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
TypeName
ServiceStack.Auth.IAuthRepositoryauthRepo

UnwrapAuthRepository(IAuthRepositoryAsync)

View Source
Declaration
public static IAuthRepository UnwrapAuthRepository(this IAuthRepositoryAsync asyncRepo)
Returns

ServiceStack.Auth.IAuthRepository

Parameters
TypeName
ServiceStack.Auth.IAuthRepositoryAsyncasyncRepo

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
TypeName
ServiceStack.Auth.IAuthRepositorysyncRepo
ServiceStack.Auth.IAuthRepositoryAsyncasyncRepo
ServiceStack.Auth.IQueryUserAuthqueryUserAuth
ServiceStack.Auth.IQueryUserAuthAsyncqueryUserAuthAsync