|
|
|
|
|
AuthLogout (Function) In french: AuthDéconnecte stOpenIDParam is OpenIDParameters
stOpenIDParam.ConfigurationURL = "https://login.microsoftonline.com/99f49690-a048-4e6e-a51e-9e6e96b4981d/v2.0/.well-known/openid-configuration"
stOpenIDParam.ClientID = "99f10db4-c3b1-437f-8362-8070750f0190"
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 = OpenIDReadIdentity(stToken)
IF ErrorOccurred THEN
Error(ErrorInfo(errFullDetails))
RETURN
END
Trace(Identity.Email)
AuthLogout(stToken)
Syntax
Logging out a user previously authenticated using OAuth 2.0 Hide the details
<Result> = AuthLogout(<OAuth authentication>)
<Result>: Boolean - True if the logout was performed,
- False otherwise.
<OAuth authentication>: OAuth2Parameters variable Name of the OAuth2Parameters variable corresponding to the session to be closed. The LogoutURL property indicates the page to be displayed after logout.
Logging out a user previously authenticated using OAuth 2.0 (asynchronous syntax) Hide the details
AuthLogout(<OAuth authentication> , <WLanguage procedure>)
<OAuth authentication>: OAuth2Parameters variable Name of the OAuth2Parameters variable corresponding to the session to be closed. The LogoutURL property indicates the page to be displayed after logout. <WLanguage procedure>: Procedure name Optional WLanguage procedure to be called when the logout is performed. This procedure has the following format:
<Procedure name>(<Logout>) where <Logout> is a boolean indicating whether or not the logout has been performed (True or False, respectively).
Logging out a user previously authenticated using OpenID Hide the details
<Result> = AuthLogout(<OpenID authentication>)
<Result>: Boolean - True if the logout was performed,
- False otherwise.
<OpenID authentication>: OpenIDParameters variable Name of the OpenIDParameters variable corresponding to the session to be closed.
Logging out a user previously authenticated using OpenID (asynchronous syntax) Hide the details
AuthLogout(<OpenID authentication> , <WLanguage procedure>)
<OpenID authentication>: OpenIDParameters variable Name of the OpenIDParameters variable corresponding to the session to be closed. <WLanguage procedure>: Procedure name Optional WLanguage procedure to be called when the logout is performed. This procedure has the following format:
<Procedure name>(<Logout>) where <Logout> is a boolean indicating whether or not the logout has been performed (True or False, respectively).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|