Documentation
¶
Index ¶
- type BaseUrls
- type Claims
- type GenerateLCORequestReturn
- type LivenessServerClient
- type WebSDK
- func (websdk WebSDK) GenerateTokenForUser(userId string) (string, error)
- func (websdk WebSDK) GetAPI2Client() voiceit2.VoiceIt2
- func (websdk WebSDK) GetLivenessServerClient() LivenessServerClient
- func (websdk WebSDK) GetSessionExpirationTimeHours() int
- func (websdk *WebSDK) Initialize(apiKey, apiToken string, sessionExpirationTimeHours int, baseUrls ...BaseUrls)
- func (websdk WebSDK) MakeCall(r *http.Request) (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Claims ¶
type Claims struct { UserId string `json:"userId"` jwt.StandardClaims }
type LivenessServerClient ¶
func (LivenessServerClient) GenerateLCORequest ¶
func (livenessServerClient LivenessServerClient) GenerateLCORequest(userId, contentLanguage string) ([]byte, error)
func (LivenessServerClient) VideoProcessingRequest ¶
type WebSDK ¶
type WebSDK struct {
// contains filtered or unexported fields
}
func (WebSDK) GenerateTokenForUser ¶
func (WebSDK) GetAPI2Client ¶
func (WebSDK) GetLivenessServerClient ¶
func (websdk WebSDK) GetLivenessServerClient() LivenessServerClient
func (WebSDK) GetSessionExpirationTimeHours ¶
func (*WebSDK) Initialize ¶
Click to show internal directories.
Click to hide internal directories.