Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace util

Index

Type aliases

Class<T>: {}

Type parameters

  • T

Type declaration

    Json: boolean | number | string | null | JsonArray | JsonMap
    JsonLike: boolean | number | string | null | JsonSerializable | JsonLike[] | { [ P in any]: JsonLike }
    JsonSerializable: { toJSON: any }

    Type declaration

    OpenWindowHandler: (url: string, options: { target?: string; title: string }) => any | null

    Type declaration

      • (url: string, options: { target?: string; title: string }): any | null
      • An window open handler which can be used to open up the OAuth Window

        Parameters

        • url: string

          Thw URl which should be opened in the Popup

        • options: { target?: string; title: string }

          Additional window options

          • [option: string]: string | number | undefined
          • Optional target?: string
          • title: string

        Returns any | null

        An optional opened window handle which will be returned by the redirect based OAuth flow. If null is returned it indicates that the open window have bee failed

    Variables

    isNode: true = true

    Functions

    • atob(input: string): string
    • Converts Base64-encoded data to string.

      Parameters

      • input: string

        Base64-encoded data.

      Returns string

      Binary-encoded data string.

    • deprecated(alternativeSignature: string): (target: string | Object, name: string, descriptor?: PropertyDescriptor) => PropertyDescriptor
    • Parameters

      • alternativeSignature: string

      Returns (target: string | Object, name: string, descriptor?: PropertyDescriptor) => PropertyDescriptor

        • (target: string | Object, name: string, descriptor?: PropertyDescriptor): PropertyDescriptor
        • Parameters

          • target: string | Object
          • name: string
          • descriptor: PropertyDescriptor = ...

          Returns PropertyDescriptor

    • hmac(message: string, key: string): Promise<string>
    • Calculates a Keyed-Hash Message Authentication Code (HMAC) from a message and a key.

      Parameters

      • message: string
      • key: string

      Returns Promise<string>

    • openWindow(url: string, options: { target?: string; title: string }): any
    • Parameters

      • url: string
      • options: { target?: string; title: string }
        • [option: string]: string | number | undefined
        • Optional target?: string
        • title: string

      Returns any

    • trailingSlashIt(str: string): string
    • Adds a trailing slash to a string if it is missing

      name

      trailingSlashIt

      memberof

      prototype

      function

      Parameters

      • str: string

      Returns string

    • uuid(): string
    • Returns string

    Generated using TypeDoc