OAuthAPI.OpenIdCResponseType

The OpenIdCResponseType record stores the access token, refresh token, and token expiry date retrieved in a request to the IdP.

Syntax

TYPE OpenIdCResponseType RECORD
  access_token  STRING,
  token_type    STRING,
  expires_in    INTEGER,
  refresh_token STRING
END RECORD

The OpenIdCResponseType record stores the access token, refresh token, and token expiry date retrieved in a request to the IdP using OAuthAPI.RetrievePasswordTokenForNativeApp().

Usage

This type defines a record structure to store tokens. If your Genero app is not behind a Genero Application Server, you can use this record when getting tokens to access a secure RESTful web service.