Program Listing for File AuthToken.h
↰ Return to documentation for file (axr.sdk/models/AuthToken.h
)
// Copyright (C) AcceleratXR, Inc. All rights reserved.
//
// Author: Jean-Philippe Steinmetz <info@acceleratxr.com>
//
// NOTE: This file was auto generated by the AcceleratXR code generator.
// https://gitlab.com/AcceleratXR/Core/code_generator.git
#pragma once
#include "axr.sdk/ModelBase.h"
#include "axr.sdk/StringEnum.h"
#include <cpprest/details/basic_types.h>
#include <vector>
namespace axr {
namespace sdk {
namespace models {
class AuthToken : public ModelBase
{
public:
class Type : public StringEnum<Type>
{
public:
static const Type* ACCESS;
static const Type* CHALLENGE;
private:
Type(const utility::char_t* value)
: StringEnum(value)
{
}
};
AuthToken() {}
AuthToken(const AuthToken& value) : ModelBase(value) {}
AuthToken(AuthToken&& value) : ModelBase(value) {}
virtual ~AuthToken() {}
static const utility::char_t* ClassName()
{
return _XPLATSTR("axr::sdk::models::AuthToken");
}
void Validate() override;
// AuthToken members
utility::string_t GetRefresh() const;
utility::string_t GetToken() const;
const AuthToken::Type* GetType() const;
utility::string_t GetUserUid() const;
};
} // namespace models
} // namespace axr
} // namespace sdk