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.
Click to show internal directories.
Click to hide internal directories.