Type alias Auth

Auth: {
    cancel?: boolean;
    headers?: HttpHeaders;
    password?: string;
    username?: string;
}

Type declaration

  • Optional cancel?: boolean

    Tells git to throw a UserCanceledError (instead of an HttpError).

  • Optional headers?: HttpHeaders

    An object where you can provide your custom authentication header.

  • Optional password?: string

    A password, personal access token, or OAuth2 token.

  • Optional username?: string

    A user name.

Generated using TypeDoc