This commit is contained in:
Livio Amstutz 2020-09-16 16:23:38 +02:00
parent 28f731c219
commit c90a9d53c8
2 changed files with 2 additions and 16 deletions

View file

@ -53,22 +53,6 @@ type Verifier interface {
Offset() time.Duration
}
type verifierConfig struct {
issuer string
clientID string
nonce string
ignoreAudience bool
ignoreExpiration bool
//iat *iatConfig
acr ACRVerifier
maxAge time.Duration
supportedSignAlgs []string
// httpClient *http.Client
now time.Time
}
//ACRVerifier specifies the function to be used by the `DefaultVerifier` for validating the acr claim
type ACRVerifier func(string) error