Class AuthChallengeResponse

java.lang.Object
io.webfolder.cdp.type.network.AuthChallengeResponse

public class AuthChallengeResponse
extends java.lang.Object
Response to an AuthChallenge
  • Constructor Summary

    Constructors 
    Constructor Description
    AuthChallengeResponse()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getPassword()
    The password to provide, possibly empty.
    AuthResponse getResponse()
    The decision on what to do in response to the authorization challenge.
    java.lang.String getUsername()
    The username to provide, possibly empty.
    void setPassword​(java.lang.String password)
    The password to provide, possibly empty.
    void setResponse​(AuthResponse response)
    The decision on what to do in response to the authorization challenge.
    void setUsername​(java.lang.String username)
    The username to provide, possibly empty.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getResponse

      public AuthResponse getResponse()
      The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box.
    • setResponse

      public void setResponse​(AuthResponse response)
      The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box.
    • getUsername

      public java.lang.String getUsername()
      The username to provide, possibly empty. Should only be set if response is ProvideCredentials.
    • setUsername

      public void setUsername​(java.lang.String username)
      The username to provide, possibly empty. Should only be set if response is ProvideCredentials.
    • getPassword

      public java.lang.String getPassword()
      The password to provide, possibly empty. Should only be set if response is ProvideCredentials.
    • setPassword

      public void setPassword​(java.lang.String password)
      The password to provide, possibly empty. Should only be set if response is ProvideCredentials.