repository

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	CreateAccessToken(ctx context.Context, data entity.CreateAccessTokenRequest) (string, int, error)
	CreateRefreshToken(ctx context.Context, data entity.CreateRefreshTokenRequest) (string, int, error)
	GetToken(ctx context.Context, token string) entity.Payload
	DeleteToken(ctx context.Context, token string) (int, error)
}

Repository contains functions for token domain.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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