Tabnine Logo
InitiateAuthResponse
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: software.amazon.awssdk/cognitoidp

  @Override
  public InitiateAuthResponse build() {
    return new InitiateAuthResponse(this);
  }
}
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

public InitiateAuthResponse unmarshall(JsonUnmarshallerContext context) throws Exception {
  InitiateAuthResponse.Builder initiateAuthResponseBuilder = InitiateAuthResponse.builder();
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 InitiateAuthResponse build() {
  return new InitiateAuthResponse(this);
}
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: 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());
}
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: 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: 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();
  }
}
software.amazon.awssdk.services.cognitoidentityprovider.modelInitiateAuthResponse

Javadoc

Initiates the authentication response.

Most used methods

  • <init>
  • authenticationResult
    The result of the authentication response. This is only returned if the caller does not need to pas
  • 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

  • Start an intent from android
  • startActivity (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now