Add pkce and openidconnect storage

- Also refactor authorizationcode_test

Signed-off-by: Ryan Richard <rrichard@vmware.com>
This commit is contained in:
Margo Crawford
2020-12-01 17:18:32 -08:00
committed by Ryan Richard
parent f38c150f6a
commit d60c184424
7 changed files with 546 additions and 166 deletions
+1
View File
@@ -33,6 +33,7 @@ func (l *testlogReader) Read(p []byte) (n int, err error) {
return
}
//nolint: gochecknoglobals
var tokenLike = regexp.MustCompile(`(?mi)[a-zA-Z0-9._-]{30,}|[a-zA-Z0-9]{20,}`)
func maskTokens(in []byte) string {