Update example/server/internal/storage.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
This commit is contained in:
parent
5c26b36f29
commit
84a5fb4471
1 changed files with 1 additions and 1 deletions
|
@ -480,7 +480,7 @@ func (s *storage) renewRefreshToken(currentRefreshToken string) (string, string,
|
||||||
return token, refreshToken.ID, nil
|
return token, refreshToken.ID, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
//createRefreshToken will store an access_token in-memory based on the provided information
|
//accessToken will store an access_token in-memory based on the provided information
|
||||||
func (s *storage) accessToken(applicationID, refreshTokenID, subject string, audience, scopes []string) (*Token, error) {
|
func (s *storage) accessToken(applicationID, refreshTokenID, subject string, audience, scopes []string) (*Token, error) {
|
||||||
token := &Token{
|
token := &Token{
|
||||||
ID: uuid.NewString(),
|
ID: uuid.NewString(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue