Module octocrab::auth

source ·
Expand description

Authentication related types and functions.

Structs§

  • The data necessary to authenticate as a Github App
  • The device codes as returned from step 1 of Github’s device flow.
  • The data necessary to authenticate as a GitHub OAuth app.

Enums§

  • The forms of authentication we support
  • Control flow when polling the device flow authorization.

Functions§

  • Create a JSON Web Token that can be used to authenticate an a GitHub application.