connect

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthPayload

type AuthPayload struct {
	Items []struct {
		Type  string `json:"type"`
		Value string `json:"value"`
	} `json:"items"`
}

type Request

type Request struct {
	Protocol string `json:"protocol"`
	V1       struct {
		Session        string `json:"session"`
		SessionPayload string `json:"session_payload"`
		ImageUrl       string `json:"image_url"`
		CallbackUrl    string `json:"callback_url"`
		Items          []struct {
			Type     string `json:"type"`
			Required bool   `json:"required"`
		} `json:"items"`
	} `json:"v1"`
}

type Responce

type Responce struct {
	Version        string `json:"version"`
	Nonce          string `json:"nonce"`
	Clientid       string `json:"clientid"`
	Authenticator  string `json:"authenticator"`
	SessionPayload string `json:"session_payload"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL