Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConsumerKey = ""
View Source
var ConsumerSecret = ""
View Source
var Domain = ""
Functions ¶
func AuthLambda ¶
func AuthLambda(_ context.Context, lambdaReq events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error)
func GetTimestamp ¶
Types ¶
type AuthRes ¶
type AuthRes struct { Security Security `json:"security,omitempty"` Request Request `json:"request,omitempty"` }
func BuildLearnosityRequest ¶
func BuildLearnosityRequest(bReq *BuildLearnosityReq) (*AuthRes, int, error)
func GetAuthResponse ¶
type BuildLearnosityReq ¶
type BuildLearnosityReq struct {
// contains filtered or unexported fields
}
type Request ¶
type Request struct { UserID string `json:"user_id,omitempty"` ActivityTemplateID string `json:"activity_template_id,omitempty"` SessionID string `json:"session_id,omitempty"` ActivityID string `json:"activity_id,omitempty"` RenderingType string `json:"rendering_type,omitempty"` Type string `json:"type,omitempty"` Name string `json:"name,omitempty"` State string `json:"state,omitempty"` }
Click to show internal directories.
Click to hide internal directories.