apis

package
v0.0.0-...-6040531 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAuthentication

func AddAuthentication(c *gin.Context)

func AddUserInformation

func AddUserInformation(c *gin.Context)

func Authentication

func Authentication(c *gin.Context)

Types

type APIAddAuthentication

type APIAddAuthentication struct {
	Username   string `json:"username"`
	Password   string `json:"password"`
	Attribute  string `json:"attribute"`
	PersonalID string `json:"personal_id"`
}

type APICipherPayload

type APICipherPayload struct {
	Payload string `json:"payload"`
}

type APIUserInformation

type APIUserInformation struct {
	PersonalID string `json:"personal_id"`
	FirstName  string `json:"first_name"`
	LastName   string `json:"last_name"`
}

type AuthAPI

type AuthAPI struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

Jump to

Keyboard shortcuts

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