androidenterprise  v1
Public Member Functions | Static Public Member Functions | List of all members
google_androidenterprise_api::AuthenticationToken Class Reference

#include <authentication_token.h>

Inheritance diagram for google_androidenterprise_api::AuthenticationToken:

Public Member Functions

 AuthenticationToken (const Json::Value &storage)
 
 AuthenticationToken (Json::Value *storage)
 
virtual ~AuthenticationToken ()
 
const StringPiece GetTypeName () const
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_token () const
 
void clear_token ()
 
const StringPiece get_token () const
 
void set_token (const StringPiece &value)
 

Static Public Member Functions

static AuthenticationTokenNew ()
 

Detailed Description

An AuthenticationToken is used by the EMM's device policy client on a device to provision the given EMM-managed user on that device.

Constructor & Destructor Documentation

◆ AuthenticationToken() [1/2]

google_androidenterprise_api::AuthenticationToken::AuthenticationToken ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ AuthenticationToken() [2/2]

google_androidenterprise_api::AuthenticationToken::AuthenticationToken ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~AuthenticationToken()

google_androidenterprise_api::AuthenticationToken::~AuthenticationToken ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_kind()

void google_androidenterprise_api::AuthenticationToken::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_token()

void google_androidenterprise_api::AuthenticationToken::clear_token ( )
inline

Clears the 'token' attribute.

◆ get_kind()

const StringPiece google_androidenterprise_api::AuthenticationToken::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_token()

const StringPiece google_androidenterprise_api::AuthenticationToken::get_token ( ) const
inline

Get the value of the 'token' attribute.

◆ GetTypeName()

const StringPiece google_androidenterprise_api::AuthenticationToken::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::AuthenticationToken

◆ has_kind()

bool google_androidenterprise_api::AuthenticationToken::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_token()

bool google_androidenterprise_api::AuthenticationToken::has_token ( ) const
inline

Determine if the 'token' attribute was set.

Returns
true if the 'token' attribute was set.

◆ New()

AuthenticationToken * google_androidenterprise_api::AuthenticationToken::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

void google_androidenterprise_api::AuthenticationToken::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Parameters
[in]valueThe new value.

◆ set_token()

void google_androidenterprise_api::AuthenticationToken::set_token ( const StringPiece &  value)
inline

Change the 'token' attribute.

The authentication token to be passed to the device policy client on the device where it can be used to provision the account for which this token was generated.

Parameters
[in]valueThe new value.

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