Cleanup method name refactors missed in comments

This commit is contained in:
Nick Meves
2020-11-29 14:18:14 -08:00
parent f6ae15e8c3
commit 26ed080bed
9 changed files with 33 additions and 32 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ func (p *GitLabProvider) createSessionState(ctx context.Context, token *oauth2.T
}, nil
}
// ValidateSessionState checks that the session's IDToken is still valid
// ValidateSession checks that the session's IDToken is still valid
func (p *GitLabProvider) ValidateSession(ctx context.Context, s *sessions.SessionState) bool {
_, err := p.Verifier.Verify(ctx, s.IDToken)
return err == nil