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

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

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

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.modelInitiateAuthResponsechallengeParameters

Javadoc

The challenge parameters. These are returned to you in the InitiateAuth response if you need to pass another challenge. The responses in this parameter should be used to compute inputs to the next call ( RespondToAuthChallenge).

All challenges require USERNAME and SECRET_HASH (if applicable).

Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

Popular methods of InitiateAuthResponse

  • <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
  • 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
  • requestLocationUpdates (LocationManager)
  • setRequestProperty (URLConnection)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • 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