#include <authentication_token.h>
An AuthenticationToken is used by the EMM's device policy client on a device to provision the given EMM-managed user on that device.
◆ AuthenticationToken() [1/2]
google_androidenterprise_api::AuthenticationToken::AuthenticationToken |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~AuthenticationToken()
google_androidenterprise_api::AuthenticationToken::~AuthenticationToken |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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
-
◆ 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
-
The documentation for this class was generated from the following files: