.NET Client Documentation
5.3.0
Search Results for

    Show / Hide Table of Contents

    CredentialsFactory Property

    CredentialsFactory

    Gets the SingletonServiceFactory<TService> for the ICredentialsFactory.

    Declaration
    public SingletonServiceFactory<ICredentialsFactory> CredentialsFactory { get; }
    Property Value
    SingletonServiceFactory<ICredentialsFactory>
    Remarks

    When set in the configuration file, it is defined as an injected type, for instance:

    "credentialsFactory":
    {
      "typeName": "My.CredentialsFactory",
      "args":
      {
        "foo": 42
      }
    }
    where typeName is the name of the type, and args is an optional dictionary of arguments for the type constructor.

    In addition, shortcuts exists for common credentials factory. The whole credentialsFactory block can be omitted and replace by one of the following:

    Username and password:

    "username-password":
                             {
                               "username": "someone",
                               "password": "secret"
                             }

    Kerberos:

    "kerberos":
                {
                  "spn": "service-provider-name"
                }

    Token:

    "token":
             {
               "data": "some-secret-token",
               "encoding": "none"
             }
    Supported encodings are: none and base64.
    In This Article
    Back to top Copyright © 2010-2023 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.