TIBCO FTL®
Public Member Functions | List of all members
TIBCO.FTL.IOAuth2TokenFetchHandler Interface Reference

OAuth2 Token fetch callback. More...

Public Member Functions

String OAuth2TokenFetchRequest (IRealm realm)
 Fetch a new oAuth2 token More...
 

Detailed Description

OAuth2 Token fetch callback.

Programs are required to define this callback if they intend to supply the access token during FTL.ConnectToRealmServer

When the oauth2 token was received by the program by some other external mechanism, it's expected that when the token needs to be refreshed, programs can return the refresh token via this callback.

This callback is called by the FTL client library when the FTLServer makes a request to the client to fetch a new oAuth2 token.

Member Function Documentation

◆ OAuth2TokenFetchRequest()

String TIBCO.FTL.IOAuth2TokenFetchHandler.OAuth2TokenFetchRequest ( IRealm  realm)

Fetch a new oAuth2 token

Parameters
realmThe realm object