Codota Logo
OAuth2AuthorizationCodeReactiveAuthenticationManager.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.springframework.security.oauth2.client.authentication.OAuth2AuthorizationCodeReactiveAuthenticationManager
constructor

Best Java code snippets using org.springframework.security.oauth2.client.authentication.OAuth2AuthorizationCodeReactiveAuthenticationManager.<init> (Showing top 6 results out of 315)

  • Common ways to obtain OAuth2AuthorizationCodeReactiveAuthenticationManager
private void myMethod () {
OAuth2AuthorizationCodeReactiveAuthenticationManager o =
  • Codota Iconnew OAuth2AuthorizationCodeReactiveAuthenticationManager(new WebClientReactiveAuthorizationCodeTokenResponseClient())
  • Smart code suggestions by Codota
}
origin: spring-projects/spring-security

public OAuth2LoginReactiveAuthenticationManager(
    ReactiveOAuth2AccessTokenResponseClient<OAuth2AuthorizationCodeGrantRequest> accessTokenResponseClient,
    ReactiveOAuth2UserService<OAuth2UserRequest, OAuth2User> userService) {
  Assert.notNull(accessTokenResponseClient, "accessTokenResponseClient cannot be null");
  Assert.notNull(userService, "userService cannot be null");
  this.authorizationCodeManager = new OAuth2AuthorizationCodeReactiveAuthenticationManager(accessTokenResponseClient);
  this.userService = userService;
}
origin: spring-projects/spring-security

/**
 * Gets the {@link ReactiveAuthenticationManager} to use. First tries an explicitly configured manager, and
 * defaults to {@link OAuth2AuthorizationCodeReactiveAuthenticationManager}
 *
 * @return the {@link ReactiveAuthenticationManager} to use
 */
private ReactiveAuthenticationManager getAuthenticationManager() {
  if (this.authenticationManager == null) {
    this.authenticationManager = new OAuth2AuthorizationCodeReactiveAuthenticationManager(new WebClientReactiveAuthorizationCodeTokenResponseClient());
  }
  return this.authenticationManager;
}
origin: spring-projects/spring-security

@Before
public void setup() {
  this.manager = new OAuth2AuthorizationCodeReactiveAuthenticationManager(this.accessTokenResponseClient);
}
origin: org.springframework.security/spring-security-config

/**
 * Gets the {@link ReactiveAuthenticationManager} to use. First tries an explicitly configured manager, and
 * defaults to {@link OAuth2AuthorizationCodeReactiveAuthenticationManager}
 *
 * @return the {@link ReactiveAuthenticationManager} to use
 */
private ReactiveAuthenticationManager getAuthenticationManager() {
  if (this.authenticationManager == null) {
    this.authenticationManager = new OAuth2AuthorizationCodeReactiveAuthenticationManager(new WebClientReactiveAuthorizationCodeTokenResponseClient());
  }
  return this.authenticationManager;
}
origin: apache/servicemix-bundles

public OAuth2LoginReactiveAuthenticationManager(
    ReactiveOAuth2AccessTokenResponseClient<OAuth2AuthorizationCodeGrantRequest> accessTokenResponseClient,
    ReactiveOAuth2UserService<OAuth2UserRequest, OAuth2User> userService) {
  Assert.notNull(accessTokenResponseClient, "accessTokenResponseClient cannot be null");
  Assert.notNull(userService, "userService cannot be null");
  this.authorizationCodeManager = new OAuth2AuthorizationCodeReactiveAuthenticationManager(accessTokenResponseClient);
  this.userService = userService;
}
origin: apache/servicemix-bundles

/**
 * Gets the {@link ReactiveAuthenticationManager} to use. First tries an explicitly configured manager, and
 * defaults to {@link OAuth2AuthorizationCodeReactiveAuthenticationManager}
 *
 * @return the {@link ReactiveAuthenticationManager} to use
 */
private ReactiveAuthenticationManager getAuthenticationManager() {
  if (this.authenticationManager == null) {
    this.authenticationManager = new OAuth2AuthorizationCodeReactiveAuthenticationManager(new WebClientReactiveAuthorizationCodeTokenResponseClient());
  }
  return this.authenticationManager;
}
org.springframework.security.oauth2.client.authenticationOAuth2AuthorizationCodeReactiveAuthenticationManager<init>

Popular methods of OAuth2AuthorizationCodeReactiveAuthenticationManager

  • onSuccess
  • authenticate

Popular in Java

  • Reading from database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • requestLocationUpdates (LocationManager)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now