Update javadoc in CommonOAuth2Provider

Closes gh-11490
This commit is contained in:
Joe Grandja 2022-07-13 10:32:04 -04:00
parent ecbfa84b39
commit d85abc7bbb
1 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2020 the original author or authors.
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -16,6 +16,7 @@
package org.springframework.security.config.oauth2.client;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.oauth2.client.registration.ClientRegistration;
import org.springframework.security.oauth2.client.registration.ClientRegistration.Builder;
import org.springframework.security.oauth2.core.AuthorizationGrantType;
@ -25,7 +26,8 @@ import org.springframework.security.oauth2.core.oidc.IdTokenClaimNames;
/**
* Common OAuth2 Providers that can be used to create
* {@link org.springframework.security.oauth2.client.registration.ClientRegistration.Builder
* builders} pre-configured with sensible defaults.
* builders} pre-configured with sensible defaults for the
* {@link HttpSecurity#oauth2Login()} flow.
*
* @author Phillip Webb
* @since 5.0