Codota Logo
InitiateAuthResponse.authenticationResult
Code IndexAdd Codota to your IDE (free)

How to use
authenticationResult
method
in
software.amazon.awssdk.services.cognitoidentityprovider.model.InitiateAuthResponse

Best Java code snippets using software.amazon.awssdk.services.cognitoidentityprovider.model.InitiateAuthResponse.authenticationResult (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: aws/aws-sdk-java-v2

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "ChallengeName":
    return Optional.ofNullable(clazz.cast(challengeNameAsString()));
  case "Session":
    return Optional.ofNullable(clazz.cast(session()));
  case "ChallengeParameters":
    return Optional.ofNullable(clazz.cast(challengeParameters()));
  case "AuthenticationResult":
    return Optional.ofNullable(clazz.cast(authenticationResult()));
  default:
    return Optional.empty();
  }
}
origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("InitiateAuthResponse").add("ChallengeName", challengeNameAsString()).add("Session", session())
      .add("ChallengeParameters", challengeParameters()).add("AuthenticationResult", authenticationResult()).build();
}
origin: software.amazon.awssdk/cognitoidp

@Override
public String toString() {
  return ToString.builder("InitiateAuthResponse").add("ChallengeName", challengeNameAsString()).add("Session", session())
      .add("ChallengeParameters", challengeParameters()).add("AuthenticationResult", authenticationResult()).build();
}
origin: software.amazon.awssdk/cognitoidp

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "ChallengeName":
    return Optional.ofNullable(clazz.cast(challengeNameAsString()));
  case "Session":
    return Optional.ofNullable(clazz.cast(session()));
  case "ChallengeParameters":
    return Optional.ofNullable(clazz.cast(challengeParameters()));
  case "AuthenticationResult":
    return Optional.ofNullable(clazz.cast(authenticationResult()));
  default:
    return Optional.empty();
  }
}
origin: aws/aws-sdk-java-v2

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(challengeNameAsString());
  hashCode = 31 * hashCode + Objects.hashCode(session());
  hashCode = 31 * hashCode + Objects.hashCode(challengeParameters());
  hashCode = 31 * hashCode + Objects.hashCode(authenticationResult());
  return hashCode;
}
origin: software.amazon.awssdk/cognitoidp

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(challengeNameAsString());
  hashCode = 31 * hashCode + Objects.hashCode(session());
  hashCode = 31 * hashCode + Objects.hashCode(challengeParameters());
  hashCode = 31 * hashCode + Objects.hashCode(authenticationResult());
  return hashCode;
}
origin: software.amazon.awssdk/cognitoidp

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof InitiateAuthResponse)) {
    return false;
  }
  InitiateAuthResponse other = (InitiateAuthResponse) obj;
  return Objects.equals(challengeNameAsString(), other.challengeNameAsString())
      && Objects.equals(session(), other.session())
      && Objects.equals(challengeParameters(), other.challengeParameters())
      && Objects.equals(authenticationResult(), other.authenticationResult());
}
origin: aws/aws-sdk-java-v2

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof InitiateAuthResponse)) {
    return false;
  }
  InitiateAuthResponse other = (InitiateAuthResponse) obj;
  return Objects.equals(challengeNameAsString(), other.challengeNameAsString())
      && Objects.equals(session(), other.session())
      && Objects.equals(challengeParameters(), other.challengeParameters())
      && Objects.equals(authenticationResult(), other.authenticationResult());
}
software.amazon.awssdk.services.cognitoidentityprovider.modelInitiateAuthResponseauthenticationResult

Javadoc

The result of the authentication response. This is only returned if the caller does not need to pass another challenge. If the caller does need to pass another challenge before it gets tokens, ChallengeName, ChallengeParameters, and Session are returned.

Popular methods of InitiateAuthResponse

  • <init>
  • challengeNameAsString
    The name of the challenge which you are responding to with this call. This is returned to you in th
  • challengeParameters
    The challenge parameters. These are returned to you in the InitiateAuth response if you need to pa
  • session
    The session which should be passed both ways in challenge-response calls to the service. If the Ini
  • builder

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • findViewById (Activity)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
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