Documentation ¶
Index ¶
Constants ¶
View Source
const ( TopicGenerateAuthorization = "auth.authorization.generate" EventTypeGenerateAuthorization = "auth.authorization.generate" )
View Source
const ( TopicValidation = "auth.authorization.validate" EventTypeValidation = "auth.authorization.validate.v1" )
View Source
const SourcePreAuthBridge = "preauthbridge"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authentication ¶
type Authentication struct { Token string `json:"token"` Code string `json:"code"` Nonce string `json:"nonce"` Pin string `json:"pin"` ExpiresAt time.Time `json:"expires_at"` CredentialConfigurationId string `json:"credential_configuration_id"` CredentialIdentifier []string `json:"credential_identifier"` TxCode *credential.TxCode `json:"tx_code"` }
type GenerateAuthorizationRep ¶
type GenerateAuthorizationRep struct { common.Reply *Authentication }
type ValidateAuthenticationReq ¶
type ValidateAuthenticationReq struct { common.Request Params ValidateAuthenticationReqParams }
type ValidateAuthenticationReqParams ¶
type ValidateAuthenticationReqParams struct {
Key string `json:"key"`
}
Click to show internal directories.
Click to hide internal directories.