9 lines
203 B
Go
9 lines
203 B
Go
|
|
package authjwt
|
||
|
|
|
||
|
|
// TokenPair holds an access token and a refresh token.
|
||
|
|
type TokenPair struct {
|
||
|
|
AccessToken string
|
||
|
|
RefreshToken string
|
||
|
|
ExpiresIn int64 // seconds until the access token expires
|
||
|
|
}
|