|
|
|
|
|
AuthVérifieAuthentification (Function) In french: AuthVerifyAuthentication Checks the validity of the current user's token in the case of SSO authentication.
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 TypeConfiguration <> Site>
OAuth2Params.RedirectionURL = "http://localhost:9874/"
<END>
MyToken is AuthToken = AuthVerifyAuthentication(OAuth2Params)
IF NOT MyToken.Valid THEN
MyToken = AuthIdentify(OAuth2Params)
END
Syntax
Verify SSO authentication token via OAuth 2.0 protocol 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.
Verify SSO authentication token via OpenID protocol 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.
Check SSO authentication token via OAuth 2.0 protocol (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 AuthVérifieAuthentification.
Check SSO authentication token via OpenID protocol (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 AuthVérifieAuthentification.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|