Class IAuthTokensController

Class Documentation

class Microsoft::Applications::Events::IAuthTokensController

This class is used to manage the Events logging system

Public Functions

inline virtual ~IAuthTokensController()

Destroy the telemetry logging system instance.

Calls FlushAndTeardown() implicitly.

virtual status_t SetTicketToken(TicketType type, char const *tokenValue) = 0

Set the Auth ticket.

Parameters
  • type – Ticket type

  • ticketValue – Ticketvalue

virtual status_t Clear() = 0

Clears all tokens.

virtual status_t SetStrictMode(bool value) = 0

sets strict mode for application( all tokens in that app).

virtual bool GetStrictMode() = 0

gets strict mode for application.

virtual std::vector<std::string> &GetTickets() = 0

Set the Auth ticket.

Parameters
  • type – Ticket type

  • ticketValue – Ticketvalue

virtual std::map<TicketType, std::string> &GetDeviceTokens() = 0

Set the Auth ticket.

Parameters
  • type – Ticket type

  • ticketValue – Ticketvalue

virtual std::map<TicketType, std::string> &GetUserTokens() = 0

Set the Auth ticket.

Parameters
  • type – Ticket type

  • ticketValue – Ticketvalue