Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AuthDomain string AuthClientID string AuthAudience string )
Functions ¶
This section is empty.
Types ¶
type DeviceCodeRes ¶
type IDClaims ¶
type IDClaims struct {
Email string `json:"email"`
Name string `json:"name"`
jwt.RegisteredClaims
}
type LoginResult ¶
LoginResult contains the result of an authentication flow
type NuonAuthTokenResponse ¶
type NuonAuthTokenResponse struct {
AccessToken string `json:"access_token,omitempty"`
TokenType string `json:"token_type,omitempty"`
Email string `json:"email,omitempty"`
Error string `json:"error,omitempty"`
ErrorDescription string `json:"error_description,omitempty"`
}
NuonAuthTokenResponse represents the response from the device token endpoint
Click to show internal directories.
Click to hide internal directories.