Use op.SupportedClaims instead of interface
This commit is contained in:
parent
3bb48f7cba
commit
22758c3fce
5 changed files with 9 additions and 31 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue