Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SqlAuthentication

Factory interface for creating {@link AuthenticationProvider} instances that use the Vert.x SQL client.

Hierarchy

  • any
    • SqlAuthentication

Index

Methods

Methods

hash

  • hash(id: string, params: {}, salt: string, password: string): string
  • hash(id: string, salt: string, password: string): string
  • Hashes a password to be stored.

    See: {@link HashingStrategy#hash}

    Parameters

    • id: string
    • params: {}
      • [key: string]: string
    • salt: string
    • password: string

    Returns string

  • Hashes a password to be stored.

    See: {@link HashingStrategy#hash}

    Parameters

    • id: string
    • salt: string
    • password: string

    Returns string

Static create

  • Create a JDBC auth provider implementation

    Parameters

    • client: SqlClient

    Returns SqlAuthentication

  • Create a JDBC auth provider implementation

    Parameters

    Returns SqlAuthentication

Generated using TypeDoc