Constants - auth

  • AUTH_ERROR string {ballerina/auth}Error
  • Represents the Auth error reason.

  • DEFAULT_CHARSET string UTF-8
  • Default charset to be used with password hashing.

  • CONFIG_PREFIX string @
  • Prefix used to denote special configuration values.

  • CONFIG_PREFIX_SHA256 string @sha256:
  • Prefix used to denote that the config value is a SHA-256 hash.

  • CONFIG_PREFIX_SHA384 string @sha384:
  • Prefix used to denote that the config value is a SHA-384 hash.

  • CONFIG_PREFIX_SHA512 string @sha512:
  • Prefix used to denote that the config value is a SHA-512 hash.

  • AUTH_SCHEME_BASIC string Basic
  • Prefix used to denote Basic Authentication scheme.

  • AUTH_SCHEME_BEARER string Bearer
  • Prefix used to denote Bearer Authentication scheme.