vkid

package
v2.16.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package vkid ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalUser

type ExternalUser struct {
	ID          string      `json:"id,omitempty"`
	Avatar      string      `json:"avatar,omitempty"`
	FirstName   string      `json:"first_name"`
	LastName    string      `json:"last_name"`
	Phone       string      `json:"phone"`
	BorderColor string      `json:"borderColor,omitempty"`
	Payload     interface{} `json:"payload,omitempty"`
}

ExternalUser struct.

type SilentAuthPayload

type SilentAuthPayload struct {
	Auth              int        `json:"auth"`
	Token             string     `json:"token"`
	LoadExternalUsers bool       `json:"loadExternalUsers"`
	TTL               int        `json:"ttl"`
	Type              string     `json:"type"`
	User              SilentUser `json:"user"`
	UUID              string     `json:"uuid"`

	OAuthProvider  string       `json:"oauthProvider,omitempty"`
	ExternalUser   ExternalUser `json:"external_user,omitempty"`
	IsRegistration bool         `json:"is_registration,omitempty"`
}

SilentAuthPayload struct.

type SilentUser

type SilentUser struct {
	ID        int    `json:"id"`
	FirstName string `json:"first_name"`
	LastName  string `json:"last_name"`
	Avatar    string `json:"avatar"`
	Phone     string `json:"phone"`
}

SilentUser struct.

Jump to

Keyboard shortcuts

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