Class HttpAuthentication.Challenge

java.lang.Object
com.launchdarkly.sdk.server.interfaces.HttpAuthentication.Challenge
Enclosing interface:
HttpAuthentication

public static class HttpAuthentication.Challenge
extends java.lang.Object
Properties of an HTTP authentication challenge.
  • Constructor Summary

    Constructors 
    Constructor Description
    Challenge​(java.lang.String scheme, java.lang.String realm)
    Constructs an instance.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getRealm()
    The authentication realm, if any.
    java.lang.String getScheme()
    The authentication scheme, such as "basic".

    Methods inherited from class java.lang.Object

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

    • Challenge

      public Challenge​(java.lang.String scheme, java.lang.String realm)
      Constructs an instance.
      Parameters:
      scheme - the authentication scheme
      realm - the authentication realm or null
  • Method Details

    • getScheme

      public java.lang.String getScheme()
      The authentication scheme, such as "basic".
      Returns:
      the authentication scheme
    • getRealm

      public java.lang.String getRealm()
      The authentication realm, if any.
      Returns:
      the authentication realm or null