Class AuthChallenge

java.lang.Object
io.webfolder.cdp.type.fetch.AuthChallenge

public class AuthChallenge
extends java.lang.Object
Authorization challenge for HTTP status code 401 or 407
  • Constructor Summary

    Constructors 
    Constructor Description
    AuthChallenge()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getOrigin()
    Origin of the challenger.
    java.lang.String getRealm()
    The realm of the challenge.
    java.lang.String getScheme()
    The authentication scheme used, such as basic or digest
    AuthChallengeSource getSource()
    Source of the authentication challenge.
    void setOrigin​(java.lang.String origin)
    Origin of the challenger.
    void setRealm​(java.lang.String realm)
    The realm of the challenge.
    void setScheme​(java.lang.String scheme)
    The authentication scheme used, such as basic or digest
    void setSource​(AuthChallengeSource source)
    Source of the authentication challenge.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getSource

      public AuthChallengeSource getSource()
      Source of the authentication challenge.
    • setSource

      public void setSource​(AuthChallengeSource source)
      Source of the authentication challenge.
    • getOrigin

      public java.lang.String getOrigin()
      Origin of the challenger.
    • setOrigin

      public void setOrigin​(java.lang.String origin)
      Origin of the challenger.
    • getScheme

      public java.lang.String getScheme()
      The authentication scheme used, such as basic or digest
    • setScheme

      public void setScheme​(java.lang.String scheme)
      The authentication scheme used, such as basic or digest
    • getRealm

      public java.lang.String getRealm()
      The realm of the challenge. May be empty.
    • setRealm

      public void setRealm​(java.lang.String realm)
      The realm of the challenge. May be empty.