(config oauthAuthenticatorConfig)
| 135 | } |
| 136 | |
| 137 | func (a OAuthAuthenticator) accessTokenCacheKey(config oauthAuthenticatorConfig) string { |
| 138 | identityBaseUri := config.IdentityUri |
| 139 | return fmt.Sprintf("oauthaccesstoken|%s|%s|%s|%s|%s", identityBaseUri.Scheme, identityBaseUri.Hostname(), config.ClientId, config.ClientSecret, config.Scopes) |
| 140 | } |
| 141 | |
| 142 | func (a OAuthAuthenticator) refreshTokenCacheKey(config oauthAuthenticatorConfig) string { |
| 143 | identityBaseUri := config.IdentityUri |
no outgoing calls
no test coverage detected