Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BasicAuthenticationCredentials

Package version

Hierarchy

  • BasicAuthenticationCredentials

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • Creates a new BasicAuthenticationCredentials object.

    constructor

    Parameters

    • userName: string

      User name.

    • password: string

      Password.

    • Optional authorizationScheme: undefined | string

    Returns BasicAuthenticationCredentials

Properties

authorizationScheme

authorizationScheme: string

password

password: string

userName

userName: string

Methods

signRequest

  • Signs a request with the Authentication header.

    Parameters

    • webResource: WebResource

      The WebResource to be signed.

    Returns Promise<WebResource>

    The signed request object.

Generated using TypeDoc