Use op.SupportedClaims instead of interface

This commit is contained in:
snow flurry 2023-12-05 11:09:53 -08:00
parent 3bb48f7cba
commit 22758c3fce
5 changed files with 9 additions and 31 deletions

View file

@ -414,14 +414,6 @@ func (o *Provider) RequestObjectSigningAlgorithmsSupported() []string {
return []string{"RS256"}
}
func (o *Provider) SupportedClaims() []string {
if o.config.SupportedClaims == nil {
return DefaultSupportedClaims
} else {
return o.config.SupportedClaims
}
}
func (o *Provider) SupportedUILocales() []language.Tag {
return o.config.SupportedUILocales
}