Auth

This package contains interfaces and classes for credential stores, which can be used to save or retrieve credential parameters.

Important points

  • Examples of credentials are passwords, logins, application keys, and secrets.
  • Credential information is usually linked with connection parameters.
  • Configuration and connection parameters are stored separately from authentication information as they need added security and protection

Interfaces

ICredentialStore

Interface for credential stores which are used to store and lookup credentials to authenticate against external services.


Classes

CredentialParams

Contains credentials used to authenticate against external services. They are used together with connection parameters, but usually stored in a separate store, protected from unauthorized access.

CredentialResolver

Helper class to retrieve component credentials.

If credentials are configured to be retrieved from ICredentialStore, it automatically locates ICredentialStore in component references and retrieves credentials from there using the store_key parameter.

DefaultCredentialStoreFactory

Creates ICredentialStore components based on their descriptors.

MemoryCredentialStore

Credential store that keeps credentials in memory.