C# Class ServiceStack.AuthUserSession

Inheritance: IAuthSession
Exibir arquivo Open project: nustack/ServiceStack

Private Properties

Property Type Description

Public Methods

Method Description
AuthUserSession ( ) : System
HasPermission ( string permission ) : bool
HasRole ( string role ) : bool
IsAuthorized ( string provider ) : bool
OnAuthenticated ( IServiceBase authService, IAuthSession session, IAuthTokens tokens, string>.Dictionary authInfo ) : void
OnCreated ( IRequest httpReq ) : void
OnLogout ( IServiceBase authService ) : void
OnRegistered ( IServiceBase registrationService ) : void

Method Details

AuthUserSession() public method

public AuthUserSession ( ) : System
return System

HasPermission() public method

public HasPermission ( string permission ) : bool
permission string
return bool

HasRole() public method

public HasRole ( string role ) : bool
role string
return bool

IsAuthorized() public method

public IsAuthorized ( string provider ) : bool
provider string
return bool

OnAuthenticated() public method

public OnAuthenticated ( IServiceBase authService, IAuthSession session, IAuthTokens tokens, string>.Dictionary authInfo ) : void
authService IServiceBase
session IAuthSession
tokens IAuthTokens
authInfo string>.Dictionary
return void

OnCreated() public method

public OnCreated ( IRequest httpReq ) : void
httpReq IRequest
return void

OnLogout() public method

public OnLogout ( IServiceBase authService ) : void
authService IServiceBase
return void

OnRegistered() public method

public OnRegistered ( IServiceBase registrationService ) : void
registrationService IServiceBase
return void