dtos

package
v0.0.0-...-f85edf5 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthTokenDTO

type AuthTokenDTO struct {
	AccessToken  string `json:"accessToken"`
	RefreshToken string `json:"refreshToken"`
}

type CreateAccessTokenDTO

type CreateAccessTokenDTO struct {
	UserId         string    `json:"userId"`
	RefreshTokenId string    `json:"refreshTokenId"`
	ExpiresAt      time.Time `json:"expiresAt"`
}

type CreateAuthTokenDTO

type CreateAuthTokenDTO struct {
	Email    string `json:"email"`
	Password string `json:"password"`
}

type CreateRefreshTokenDTO

type CreateRefreshTokenDTO struct {
	UserId string `json:"userId"`
}

type CreatedTokenDTO

type CreatedTokenDTO struct {
	Id string `json:"id"`
}

type UpdateAuthDTO

type UpdateAuthDTO struct {
	RefreshToken string `json:"refreshToken"`
}

type UserDTO

type UserDTO struct {
	Id       string `json:"id"`
	Email    string `json:"email"`
	Password string `json:"password"`
}

type ViewerDTO

type ViewerDTO struct {
	Id        string `json:"id"`
	Email     string `json:"email"`
	FirstName string `json:"firstName"`
	LastName  string `json:"lastName"`
}

Jump to

Keyboard shortcuts

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