Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Authentication

Contains methods used to authenticate clients against a GeoStream server.

Hierarchy

  • Authentication

Index

Methods

Static Protected _fromMicrosoftGuid

  • _fromMicrosoftGuid(hexString: string): string
  • Parameters

    • hexString: string

    Returns string

Static Protected _getAuthTokenBuffer

  • _getAuthTokenBuffer(username: string, password: string, randomness: string): Buffer
  • Parameters

    • username: string
    • password: string
    • randomness: string

    Returns Buffer

Static Protected _hashAuthToken

  • _hashAuthToken(authToken: Buffer): string
  • Parameters

    • authToken: Buffer

    Returns string

Static Protected _microsoftGuidTransform

  • _microsoftGuidTransform(guidString: string, separator: string): string
  • Parameters

    • guidString: string
    • separator: string

    Returns string

Static Protected _toMicrosoftGuid

  • _toMicrosoftGuid(hexString: string): string
  • Parameters

    • hexString: string

    Returns string

Static getAuthToken

  • getAuthToken(username: string, password: string, randomness: string): string
  • Parameters

    • username: string
    • password: string
    • randomness: string

    Returns string

Generated using TypeDoc