Documentation ¶
Index ¶
Constants ¶
View Source
const ( InvalidAccessToken = iota + 1 InvalidUsersSignature NonceNotFound NotLikelyHuman ScoreIsTooLow InvalidGatewayToken )
View Source
const ( EthAddressTaken = iota + 1 IdentityVerified DuplicateProviderData )
Variables ¶
This section is empty.
Functions ¶
func Conflict ¶
func Conflict(cause string) *jsonapi.ErrorObject
func NewNonce ¶
func NewNonce(nonce string) resources.NewNonceResponse
func NewVerifyStatus ¶
func NewVerifyStatus(user *data.User) resources.VerifyStatusRequest
func Unauthorized ¶
func Unauthorized(cause string) *jsonapi.ErrorObject
Types ¶
type VerifyIDResponse ¶
type VerifyIDResponse struct {
Data VerifyID `json:"data"`
}
func NewVerify ¶
func NewVerify(id uuid.UUID) VerifyIDResponse
Click to show internal directories.
Click to hide internal directories.