refreshtokenservicemapper

package
v1.0.17 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 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 RefreshTokenResponseMapper

type RefreshTokenResponseMapper interface {
	// Converts a single RefreshTokenRecord into RefreshTokenResponse.
	ToRefreshTokenResponse(refresh *record.RefreshTokenRecord) *response.RefreshTokenResponse

	// Converts multiple RefreshTokenRecord into a slice of RefreshTokenResponse.
	ToRefreshTokenResponses(refreshs []*record.RefreshTokenRecord) []*response.RefreshTokenResponse
}

func NewRefreshTokenResponseMapper

func NewRefreshTokenResponseMapper() RefreshTokenResponseMapper

NewRefreshTokenResponseMapper creates a new instance of refreshTokenResponseMapper, which provides methods to map RefreshTokenRecord domain models to RefreshTokenResponse API-compatible response types.

Jump to

Keyboard shortcuts

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