org.apache.tinkerpop.gremlin.driver

## Class AuthProperties

- java.lang.Object
- - org.apache.tinkerpop.gremlin.driver.AuthProperties

-     public class AuthProperties
      extends Object

  Properties to supply to the `Cluster` for authentication purposes.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `AuthProperties.Property` An enum of the available authorization properties.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AuthProperties()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `get(AuthProperties.Property key)` Gets a property given the key.
    `AuthProperties` | `with(AuthProperties.Property key, String value)` Adds a `AuthProperties.Property` with value to the authorization property set.

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

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

- - ### Constructor Detail

    - #### AuthProperties

          public AuthProperties()

  - ### Method Detail

    - #### with

          public AuthProperties with(AuthProperties.Property key,
                                     String value)

      Adds a `AuthProperties.Property` with value to the authorization property set.

    - #### get

          public String get(AuthProperties.Property key)

      Gets a property given the key.

Copyright © 2013–2021 Apache Software Foundation. All rights reserved.