@tax1driver/ts-payu
    Preparing search index...

    Class OAuth

    Index

    Constructors

    Methods

    Constructors

    • Creates an instance of OAuth.

      Parameters

      • client: AxiosInstance

        configured axios client for proper backend

      • clientId: number

        client id

      • clientSecret: string

        client secret

      Returns OAuth

      OAuth

    Methods

    • Get access token from PayU service

      Returns Promise<string>

      • access token

      Auth