oauth2/revocator_test.go
Function TestRevoke
has 72 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func TestRevoke(t *testing.T) {
conf := internal.NewConfigurationWithDefaults()
reg := internal.NewRegistryMemory(t, conf, &contextx.Default{})
internal.MustEnsureRegistryKeys(context.Background(), reg, x.OpenIDConnectKeyName)
Function createAccessTokenSessionPairwise
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func createAccessTokenSessionPairwise(subject, client string, token string, expiresAt time.Time, fs x.FositeStorer, scopes fosite.Arguments, obfuscated string) {
Function createAccessTokenSession
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func createAccessTokenSession(subject, client string, token string, expiresAt time.Time, fs x.FositeStorer, scopes fosite.Arguments) {