Browse Source

Update javadoc in CommonOAuth2Provider

Closes gh-11490
pull/11464/head
Joe Grandja 4 years ago
parent
commit
d85abc7bbb
  1. 6
      config/src/main/java/org/springframework/security/config/oauth2/client/CommonOAuth2Provider.java

6
config/src/main/java/org/springframework/security/config/oauth2/client/CommonOAuth2Provider.java

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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; 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;
import org.springframework.security.oauth2.client.registration.ClientRegistration.Builder; import org.springframework.security.oauth2.client.registration.ClientRegistration.Builder;
import org.springframework.security.oauth2.core.AuthorizationGrantType; 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 * Common OAuth2 Providers that can be used to create
* {@link org.springframework.security.oauth2.client.registration.ClientRegistration.Builder * {@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 * @author Phillip Webb
* @since 5.0 * @since 5.0

Loading…
Cancel
Save