Skip to main content

AuthFilterContext

Assembly: ServiceStack.dll
View Source
Declaration
public class AuthFilterContext

Properties

AuthService

Instance of AuthenticateService

View Source
Declaration
public AuthenticateService AuthService { get; }

Request

The current HTTP Request

View Source
Declaration
public IRequest Request { get; }

AuthProvider

Selected Auth Provider for Request

View Source
Declaration
public IAuthProvider AuthProvider { get; }

Session

Authenticated Users Session

View Source
Declaration
public IAuthSession Session { get; }

AuthRequest

Authenticate Request DTO

View Source
Declaration
public Authenticate AuthRequest { get; }

AuthResponse

Authenticate Response DTO

View Source
Declaration
public AuthenticateResponse AuthResponse { get; }

ReferrerUrl

Optimal Session Referrer URL to use redirects

View Source
Declaration
public string ReferrerUrl { get; }

AlreadyAuthenticated

If User was already authenticated

View Source
Declaration
public bool AlreadyAuthenticated { get; }

DidAuthenticate

If User Authenticated in this request

View Source
Declaration
public bool DidAuthenticate { get; }

UserSource

Original User Source (if exists)

View Source
Declaration
public object UserSource { get; set; }