Crosstales.RTVoice.Azure.Authentication Class Reference

This class demonstrates how to get a valid O-auth token More...

Public Member Functions

async System.Threading.Tasks.Task< string > Authenticate (string issueTokenUri, string key)
 The Authenticate method needs to be called separately since it runs asynchronously and cannot be in the constructor, nor should it block the main Unity thread. More...
 
string GetAccessToken ()
 

Detailed Description

This class demonstrates how to get a valid O-auth token

Member Function Documentation

◆ Authenticate()

async System.Threading.Tasks.Task<string> Crosstales.RTVoice.Azure.Authentication.Authenticate ( string  issueTokenUri,
string  key 
)

The Authenticate method needs to be called separately since it runs asynchronously and cannot be in the constructor, nor should it block the main Unity thread.

Parameters
issueTokenUri
key
Returns
Authentication task

The documentation for this class was generated from the following file:
  • C:/Users/slaub/Unity/assets/RTVoice/RTVoicePro/Assets/Plugins/crosstales/RTVoice/3rd party/Azure/Scripts/TTSClient.cs