ZKUtil.ZKAuthInfo (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.util, class: ZKUtil, class: ZKAuthInfo

Package org.apache.hadoop.util

# Class ZKUtil.ZKAuthInfo

java.lang.Object
org.apache.hadoop.util.ZKUtil.ZKAuthInfo

Enclosing class:
  ZKUtil

@Private public static class ZKUtil.ZKAuthInfo extends Object
An authentication token passed to ZooKeeper.addAuthInfo

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ZKAuthInfo(String scheme, byte[] auth)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `byte[]`
  `getAuth()`
  `String`
  `getScheme()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ZKAuthInfo

    public ZKAuthInfo(String scheme, byte[] auth)

- ## Method Details

  - ### getScheme

    public String getScheme()

  - ### getAuth

    public byte[] getAuth()