Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AuthInterface<AuthOptions, Authentication>

Interface to implement complex authentication strategies for Octokit. An object Implementing the AuthInterface can directly be passed as the auth option in the Octokit constructor.

For the official implementations of the most common authentication strategies, see https://github.com/octokit/auth.js

Type parameters

  • AuthOptions: any[]

  • Authentication: any

Hierarchy

  • AuthInterface

Callable

  • __call(...args: AuthOptions): Promise<Authentication>
  • Interface to implement complex authentication strategies for Octokit. An object Implementing the AuthInterface can directly be passed as the auth option in the Octokit constructor.

    For the official implementations of the most common authentication strategies, see https://github.com/octokit/auth.js

    Parameters

    • Rest ...args: AuthOptions

    Returns Promise<Authentication>

Index

Properties

Properties

hook

hook: function

Type declaration

Generated using TypeDoc