|
|
|
|
|
AuthVerifyAuthentication (Function) In french: AuthVérifieAuthentification When SSO authentication is used, checks the validity of the current user's token.
OAuth2Params is OAuth2Parameters
OAuth2Params.ClientID = "01234567890123456789"
OAuth2Params.ClientSecret = "98765432109876543210"
OAuth2Params.AuthURL = "https://www.dropbox.com/oauth2/authorize"
OAuth2Params.TokenURL = "https://api.dropboxapi.com/oauth2/token"
OAuth2Params.AdditionalParameters = "force_reapprove=false"
<COMPILE IF ConfigurationType<>Site>
OAuth2Params.RedirectionURL = "http://localhost:9874/"
<END>
MyToken is AuthToken = AuthVerifyAuthentication(OAuth2Params)
IF NOT MyToken.Valid THEN
MyToken = AuthIdentify(OAuth2Params)
END
Syntax
Verifying an SSO authentication token via OAuth 2.0 Hide the details
<Result> = AuthVerifyAuthentication(<Authentication parameters>)
<Result>: AuthToken variable AuthToken variable corresponding to the token containing the access information for the next requests that require authentication. <Authentication parameters>: OAuth2Parameters variable Name of the OAuth2Parameters variable containing the parameters describing the elements required to retrieve the access token.
Verifying an SSO authentication token via OpenID Hide the details
<Result> = AuthVerifyAuthentication(<Authentication parameters>)
<Result>: AuthToken variable AuthToken variable corresponding to the token containing the access information for the next requests that require authentication. <Authentication parameters>: OpenIDParameters variable Name of the OpenIDParameters variable containing the parameters describing the elements required to retrieve the access token.
Verifying an SSO authentication token via OAuth 2.0 (asynchronous syntax) Hide the details
AuthVerifyAuthentication(<Authentication parameters> , <WLanguage procedure>)
<Authentication parameters>: OAuth2Parameters variable Name of the OAuth2Parameters variable containing the parameters describing the elements required to retrieve the access token. <WLanguage procedure>: Procedure name Name of the WLanguage procedure ("callback") called during the authentication. For more details on this procedure, see Parameters of the procedure used by AuthVerifyAuthentication.
Verifying an SSO authentication token via OpenID (asynchronous syntax) Hide the details
AuthVerifyAuthentication(<Authentication parameters> , <WLanguage procedure>)
<Authentication parameters>: OpenIDParameters variable Name of the OpenIDParameters variable containing the parameters describing the elements required to retrieve the access token. <WLanguage procedure>: Procedure name Name of the WLanguage procedure ("callback") called during the authentication. For more details on this procedure, see Parameters of the procedure used by AuthVerifyAuthentication.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|