Set RefreshToken
This commit is contained in:
parent
e57b20c1f8
commit
70736e24c0
@ -182,8 +182,9 @@ func (j *jwt) Token(opts ...auth.TokenOption) (*auth.Token, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return &auth.Token{
|
return &auth.Token{
|
||||||
Created: tok.Created,
|
Created: tok.Created,
|
||||||
Expiry: tok.Expiry,
|
Expiry: tok.Expiry,
|
||||||
AccessToken: tok.Token,
|
AccessToken: tok.Token,
|
||||||
|
RefreshToken: tok.Token,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user