Back to Aurora Vision Library website

You are here: Start » Function Reference » System » OAuth » RefreshOAuthToken

RefreshOAuthToken


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Requests for refreshing current OAuth token.

Syntax

C++
C#
 
void avl::RefreshOAuthToken
(
	avl::OAuthProvider::Type inProvider,
	const atl::String& inRefreshToken,
	atl::Conditional<avl::OAuthUser>& outRefreshedUser,
	atl::Conditional<atl::String>& diagResponse
)

Parameters

Name Type Default Description
Input value inProvider OAuthProvider::Type Authorization provider
Input value inRefreshToken const String& Refresh token.
Output value outRefreshedUser Conditional<OAuthUser>& The user authenticated with the refresh token.
Diagnostic input diagResponse Conditional<String>& Raw response from the server