Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GraphQLAddUserResult = graphql.NewObject(graphql.ObjectConfig{ Name: "AddUserResult", Fields: graphql.Fields{ "UserName": &graphql.Field{ Type: graphql.String, Description: "Name of the user this token belongs", }, "FullName": &graphql.Field{ Type: graphql.String, Description: "Full name of the user", }, "Fingerprint": &graphql.Field{ Type: graphql.String, Description: "Fingerprint of the key user has access", }, "Password": &graphql.Field{ Type: graphql.String, Description: "Auto-generated password", }, }, })
View Source
var GraphQLToken = graphql.NewObject(graphql.ObjectConfig{ Name: "Token", Fields: graphql.Fields{ "Value": &graphql.Field{ Type: graphql.String, Description: "Token Value. Use this for all authenticated calls", }, "UserName": &graphql.Field{ Type: graphql.String, Description: "Name of the user this token belongs", }, "Expiration": &graphql.Field{ Type: graphql.Float, Description: "Unix Epoch Timestamp when this token expires (in milisseconds)", }, "ExpirationDateTimeISO": &graphql.Field{ Type: graphql.String, Description: "ISO DateTime when this token expires", }, "UserFullName": &graphql.Field{ Type: graphql.String, Description: "Full name of the user", }, }, })
Functions ¶
This section is empty.
Types ¶
type AddUserResult ¶
Click to show internal directories.
Click to hide internal directories.