identitytoolkit  v3
Public Member Functions | Static Public Member Functions | List of all members
google_identitytoolkit_api::VerifyCustomTokenResponse Class Reference

#include <verify_custom_token_response.h>

Inheritance diagram for google_identitytoolkit_api::VerifyCustomTokenResponse:

Public Member Functions

 VerifyCustomTokenResponse (const Json::Value &storage)
 
 VerifyCustomTokenResponse (Json::Value *storage)
 
virtual ~VerifyCustomTokenResponse ()
 
const StringPiece GetTypeName () const
 
bool has_expires_in () const
 
void clear_expires_in ()
 
int64 get_expires_in () const
 
void set_expires_in (int64 value)
 
bool has_id_token () const
 
void clear_id_token ()
 
const StringPiece get_id_token () const
 
void set_id_token (const StringPiece &value)
 
bool has_is_new_user () const
 
void clear_is_new_user ()
 
bool get_is_new_user () const
 
void set_is_new_user (bool value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_refresh_token () const
 
void clear_refresh_token ()
 
const StringPiece get_refresh_token () const
 
void set_refresh_token (const StringPiece &value)
 

Static Public Member Functions

static VerifyCustomTokenResponseNew ()
 

Detailed Description

Response from verifying a custom token.

Constructor & Destructor Documentation

◆ VerifyCustomTokenResponse() [1/2]

google_identitytoolkit_api::VerifyCustomTokenResponse::VerifyCustomTokenResponse ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ VerifyCustomTokenResponse() [2/2]

google_identitytoolkit_api::VerifyCustomTokenResponse::VerifyCustomTokenResponse ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~VerifyCustomTokenResponse()

google_identitytoolkit_api::VerifyCustomTokenResponse::~VerifyCustomTokenResponse ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_expires_in()

void google_identitytoolkit_api::VerifyCustomTokenResponse::clear_expires_in ( )
inline

Clears the 'expiresIn' attribute.

◆ clear_id_token()

void google_identitytoolkit_api::VerifyCustomTokenResponse::clear_id_token ( )
inline

Clears the 'idToken' attribute.

◆ clear_is_new_user()

void google_identitytoolkit_api::VerifyCustomTokenResponse::clear_is_new_user ( )
inline

Clears the 'isNewUser' attribute.

◆ clear_kind()

void google_identitytoolkit_api::VerifyCustomTokenResponse::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_refresh_token()

void google_identitytoolkit_api::VerifyCustomTokenResponse::clear_refresh_token ( )
inline

Clears the 'refreshToken' attribute.

◆ get_expires_in()

int64 google_identitytoolkit_api::VerifyCustomTokenResponse::get_expires_in ( ) const
inline

Get the value of the 'expiresIn' attribute.

◆ get_id_token()

const StringPiece google_identitytoolkit_api::VerifyCustomTokenResponse::get_id_token ( ) const
inline

Get the value of the 'idToken' attribute.

◆ get_is_new_user()

bool google_identitytoolkit_api::VerifyCustomTokenResponse::get_is_new_user ( ) const
inline

Get the value of the 'isNewUser' attribute.

◆ get_kind()

const StringPiece google_identitytoolkit_api::VerifyCustomTokenResponse::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_refresh_token()

const StringPiece google_identitytoolkit_api::VerifyCustomTokenResponse::get_refresh_token ( ) const
inline

Get the value of the 'refreshToken' attribute.

◆ GetTypeName()

const StringPiece google_identitytoolkit_api::VerifyCustomTokenResponse::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_identitytoolkit_api::VerifyCustomTokenResponse

◆ has_expires_in()

bool google_identitytoolkit_api::VerifyCustomTokenResponse::has_expires_in ( ) const
inline

Determine if the 'expiresIn' attribute was set.

Returns
true if the 'expiresIn' attribute was set.

◆ has_id_token()

bool google_identitytoolkit_api::VerifyCustomTokenResponse::has_id_token ( ) const
inline

Determine if the 'idToken' attribute was set.

Returns
true if the 'idToken' attribute was set.

◆ has_is_new_user()

bool google_identitytoolkit_api::VerifyCustomTokenResponse::has_is_new_user ( ) const
inline

Determine if the 'isNewUser' attribute was set.

Returns
true if the 'isNewUser' attribute was set.

◆ has_kind()

bool google_identitytoolkit_api::VerifyCustomTokenResponse::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_refresh_token()

bool google_identitytoolkit_api::VerifyCustomTokenResponse::has_refresh_token ( ) const
inline

Determine if the 'refreshToken' attribute was set.

Returns
true if the 'refreshToken' attribute was set.

◆ New()

VerifyCustomTokenResponse * google_identitytoolkit_api::VerifyCustomTokenResponse::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_expires_in()

void google_identitytoolkit_api::VerifyCustomTokenResponse::set_expires_in ( int64  value)
inline

Change the 'expiresIn' attribute.

If idToken is STS id token, then this field will be expiration time of STS id token in seconds.

Parameters
[in]valueThe new value.

◆ set_id_token()

void google_identitytoolkit_api::VerifyCustomTokenResponse::set_id_token ( const StringPiece &  value)
inline

Change the 'idToken' attribute.

The GITKit token for authenticated user.

Parameters
[in]valueThe new value.

◆ set_is_new_user()

void google_identitytoolkit_api::VerifyCustomTokenResponse::set_is_new_user ( bool  value)
inline

Change the 'isNewUser' attribute.

True if it's a new user sign-in, false if it's a returning user.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_identitytoolkit_api::VerifyCustomTokenResponse::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

The fixed string "identitytoolkit#VerifyCustomTokenResponse".

Parameters
[in]valueThe new value.

◆ set_refresh_token()

void google_identitytoolkit_api::VerifyCustomTokenResponse::set_refresh_token ( const StringPiece &  value)
inline

Change the 'refreshToken' attribute.

If idToken is STS id token, then this field will be refresh token.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: