Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mgyucht committed Jan 8, 2025
1 parent 19a34ce commit c7b5155
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions credentials/oauth/persistent_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,6 @@ func NewPersistentAuth(ctx context.Context, opts ...PersistentAuthOption) (*Pers
return p, nil
}

// tokenErrorResponse is the response from the OAuth2 token endpoint when an
// error occurs.
type tokenErrorResponse struct {
Error string `json:"error"`
ErrorDescription string `json:"error_description"`
}

// Load loads the OAuth2 token for the given OAuthArgument from the cache. If
// the token is expired, it is refreshed using the refresh token.
func (a *PersistentAuth) Load(ctx context.Context, arg OAuthArgument) (t *oauth2.Token, err error) {
Expand Down

0 comments on commit c7b5155

Please sign in to comment.