|
|
|
|
|
OAuth and OpenID protocol functions
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:
| | | Retrieves user information from an access token. | AuthIdentify | Performs an authentication using the OAuth 2.0 protocol on any web service. | AuthImportToken | Creates a web service access token from a token description in JSON format. | | Determines the set of metadata for an OAuth token. | | 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).
| AuthRefreshToken | Refreshes a user's OAuth2 token when it expires. | | Revokes a JSON Web Token (JWT). | | 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. | OpenIDReadIdentity | Retrieves the identity of a user contained in an AuthToken variable. |
The following are variables specific to the OAuth and OpenID protocols:
| | AuthToken | The AuthToken type contains the characteristics of a token to access a web service. | JWTParameters | The JWTParameter type is used to define all the data required for JWT-based authentication. | OAuth2Parameters | The OAuth2Parameters type is used to define the information required to authenticate on a web service implementing the OAuth 2.0 standard. | OpenIDIdentity | The OpenIDIdentity type is used to define all the advanced characteristics of a user connected to a web service via the OAuth 2.0 protocol. | OpenIDParameters | The OpenIDParameters type is used to define all the advanced features of an authentication for OpenID. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|