C# Class ServiceStack.Auth.AuthenticateService

Inheritance: Service
Exibir arquivo Open project: nustack/ServiceStack Class Usage Examples

Public Methods

Method Description
Authenticate ( Authenticate request ) : AuthenticateResponse

Public API entry point to authenticate via code

Delete ( Authenticate request ) : object
Get ( Authenticate request ) : object
GetAuthProvider ( string provider ) : IAuthProvider
Init ( Func sessionFactory ) : void
Options ( Authenticate request ) : void
Post ( Authenticate request ) : object

Private Methods

Method Description
AssertAuthProviders ( ) : void
Authenticate ( Authenticate request, string provider, IAuthSession session, IAuthProvider oAuthConfig ) : object

The specified session may change as a side-effect of this method. If subsequent code relies on current IAuthSession data be sure to reload the session istance via ServiceExtensions.GetSession(IServiceBase,bool).

AuthenticateService ( ) : System

Method Details

Authenticate() public method

Public API entry point to authenticate via code
public Authenticate ( Authenticate request ) : AuthenticateResponse
request Authenticate
return AuthenticateResponse

Delete() public method

public Delete ( Authenticate request ) : object
request Authenticate
return object

Get() public method

public Get ( Authenticate request ) : object
request Authenticate
return object

GetAuthProvider() public static method

public static GetAuthProvider ( string provider ) : IAuthProvider
provider string
return IAuthProvider

Init() public static method

public static Init ( Func sessionFactory ) : void
sessionFactory Func
return void

Options() public method

public Options ( Authenticate request ) : void
request Authenticate
return void

Post() public method

public Post ( Authenticate request ) : object
request Authenticate
return object