Skip to content

refreshOAuth2AccessToken(onlyIfExpired_)

daneden edited this page Jun 10, 2022 · 2 revisions

refreshOAuth2AccessToken(onlyIfExpired:)

Refreshes the OAuth 2.0 token, optionally forcing a refresh even if the token is still valid After a successful refresh, a user-defined callback is performed. (optional)

public func refreshOAuth2AccessToken(onlyIfExpired: Bool = true)

Parameters

  • onlyIfExpired: Set to false to force the token to refresh even if it hasn't yet expired.
Types
Global Variables
Global Functions
Extensions
Clone this wiki locally