Свойство | Type | Description | |
---|---|---|---|
EmptyParams | string>.Dictionary |
Свойство | Type | Description | |
---|---|---|---|
ParseAuthResult | void | ||
SaveSession | void |
Méthode | Description | |
---|---|---|
Authenticate ( [ code, [ redirectUri ) : void |
Authenticates with a code given synchronously. See
|
|
AuthenticateRequest ( [ context ) : bool |
Authenticates current request synchronously. Returns
|
|
BeginAuthenticate ( [ code, [ redirectUri, AsyncCallback cb, object state ) : IAsyncResult |
Begins to authenticates with a code given synchronously. See
|
|
BeginAuthenticateRequest ( [ context, [ cb, [ state ) : IAsyncResult |
Begin to authenticate current request synchronously. Returns
|
|
EndAuthenticate ( IAsyncResult ar ) : void |
Completes async authentication operation started by the BeginAuthenticate method.
|
|
EndAuthenticateRequest ( [ ar ) : bool |
Fetches state of async operation. Corresponds to BeginAuthenticate method. Returns
|
|
GetLoginUrl ( [ nextUrl ) : string |
See IAuthContext.GetLoginUrl(Uri, Dictionary{String, String}).
|
|
GetLoginUrl ( [ nextUrl, [ @params ) : string |
See IAuthContext.GetLoginUrl(Uri, LoginParams).
|
|
GetLoginUrl ( [ nextUrl, string>.[ |
See IAuthContext.GetLoginUrl(Uri, Dictionary{String, String}).
|
|
GetLogoutUrl ( [ nextUrl ) : string |
See IAuthContext.GetLogoutUrl(Uri, Dictionary{String, String}).
|
|
GetLogoutUrl ( [ nextUrl, string>.[ |
See IAuthContext.GetLogoutUrl(Uri, Dictionary{String, String}).
|
|
OAuthContext ( [ appId, [ appSecret ) : System |
Initializes a new OAuthContext object with specified appId and appSecret.
|
Méthode | Description | |
---|---|---|
GetCurrentUrl ( |
Generates url from the current HttpRequest.Url which is useful to pass into Authenticate or BeginAuthenticate methods as the
|
Méthode | Description | |
---|---|---|
ParseAuthResult ( string contentType, string json ) : void | ||
SaveSession ( |
public Authenticate ( [ code, [ redirectUri ) : void | ||
code | [ | a verification string passed in the query string argument |
redirectUri | [ | a url which was passed to |
Résultat | void |
public AuthenticateRequest ( [ context ) : bool | ||
context | [ | http context to authenticate. |
Résultat | bool |
public BeginAuthenticate ( [ code, [ redirectUri, AsyncCallback cb, object state ) : IAsyncResult | ||
code | [ | a verification string passed in the query string argument |
redirectUri | [ | a url which was passed to |
cb | AsyncCallback | a callback to call upon operation is completed. |
state | object | the user state to pass to the callback. |
Résultat | IAsyncResult |
public BeginAuthenticateRequest ( [ context, [ cb, [ state ) : IAsyncResult | ||
context | [ | http context to authenticate. |
cb | [ | a callback to call upon operation is completed. |
state | [ | the user state to pass to the callback. |
Résultat | IAsyncResult |
public EndAuthenticate ( IAsyncResult ar ) : void | ||
ar | IAsyncResult | async state of the operation. |
Résultat | void |
public EndAuthenticateRequest ( [ ar ) : bool | ||
ar | [ | async state of the operation. |
Résultat | bool |
protected GetCurrentUrl ( |
||
context | ||
Résultat | string |
public GetLoginUrl ( [ nextUrl, [ @params ) : string | ||
nextUrl | [ | |
@params | [ | |
Résultat | string |
public GetLoginUrl ( [ nextUrl, string>.[ |
||
nextUrl | [ | |
@params | string>.[ | |
Résultat | string |
public GetLogoutUrl ( [ nextUrl, string>.[ |
||
nextUrl | [ | |
@params | string>.[ | |
Résultat | string |
public OAuthContext ( [ appId, [ appSecret ) : System | ||
appId | [ | Facebook application id. |
appSecret | [ | Application secret. |
Résultat | System |