|
|
|
|
|
<AuthToken>.Revoke (Function) In french: <AuthToken>.Révoque Revokes a JSON Web Token (JWT). Remarks: - Revocation consists of executing a request to invalidate the specified token. To log in again, the user will have to go through the entire login process.
- When you use a variable of type OAuth2Parameters, you need to specify the revocation URL with the RevocationURL property.
stOpenIDParam is OpenIDParameters
OpenIDParam.ConfigurationURL = "https://accounts.google.com/.well-known/openid-configuration"
stOpenIDParam.ClientID = "686331726510-0ojt7fqbkmtns8qjne242v5fuqb8v3tr.apps.googleusercontent.com"
stOpenIDParam.ClientSecret = "vEhFxP8I5AjppVFJsLYi0uKt"
stOpenIDParam.Scope = "email openid"
stOpenIDParam.RedirectionURL = "http://localhost:9874"
stToken is AuthToken = AuthIdentify(stOpenIDParam)
IF ErrorOccurred THEN
Error(ErrorInfo(errFullDetails))
RETURN
END
Identity is OpenIDIdentity = stToken.OpenIDReadIdentity()
IF ErrorOccurred THEN
Error(ErrorInfo(errFullDetails))
RETURN
END
Trace(Identity.Email)
stToken.Revoke()
Syntax
<Result> = <Connection token>.Revoke()
<Result>: Boolean - True if the disconnection was performed,
- False otherwise.
<Connection token>: AuthToken variable Name of the AuthToken variable corresponding to the access token.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|