ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Managing the OAuth 2.0 protocol
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Note: These functions are also available in prefix syntax (OAuth and OpenID protocol functions (prefix syntax)).
The following functions are used to manage OAuth and OpenID protocols:
New in version 2025
AuthGetUserInfo
Retrieves user information from an access token.
AuthIdentifyPerforms an authentication using the OAuth 2.0 protocol on any web service.
AuthImportTokenCreates a web service access token from a token description in JSON format.
New in version 2025
AuthIntrospectToken
Determines the set of metadata for an OAuth token.
New in version 2025
AuthLogout
Logs out a user previously authenticated via:
  • the OAuth 2.0 protocol on any web service.
  • the OpenID protocol on any web service.
  • a JSON Web Token (JWT).
AuthRefreshTokenRefreshes a user's OAuth2 token when it expires.
New in version 2025
AuthRevokeToken
Revokes a JSON Web Token (JWT).
New in version 2025
AuthVerifyAuthentication
When SSO authentication is used, checks the validity of the current user's token.
Creates a JWT assertion.
This new function is available from WINDEV Suite SaaS 2025 Update 1.
OpenIDReadIdentityRetrieves the identity of a user contained in an AuthToken variable.


The following are variables specific to the OAuth and OpenID protocols:
AuthTokenThe AuthToken type contains the characteristics of a token to access a web service.
JWTParametersThe JWTParameter type is used to define all the data required for JWT-based authentication.
OAuth2ParametersThe OAuth2Parameters type is used to define the information required to authenticate on a web service implementing the OAuth 2.0 standard.
OpenIDIdentityThe OpenIDIdentity type is used to define all the advanced characteristics of a user connected to a web service via the OAuth 2.0 protocol.
OpenIDParametersThe OpenIDParameters type is used to define all the advanced features of an authentication for OpenID.
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/14/2025

Send a report | Local help