RepositoryAccessObject interface

Credentials to access repository.

Properties

clientId

OAuth ClientId. Required when kind is OAuth

code

OAuth Code. Required when kind is OAuth

installationId

Application installation ID. Required when kind is App. Supported by GitHub only.

kind

The kind of repository access credentials

state

OAuth State. Required when kind is OAuth

token

Personal Access Token. Required when kind is PAT

Property Details

clientId

OAuth ClientId. Required when kind is OAuth

clientId?: string

Property Value

string

code

OAuth Code. Required when kind is OAuth

code?: string

Property Value

string

installationId

Application installation ID. Required when kind is App. Supported by GitHub only.

installationId?: string

Property Value

string

kind

The kind of repository access credentials

kind: string

Property Value

string

state

OAuth State. Required when kind is OAuth

state?: string

Property Value

string

token

Personal Access Token. Required when kind is PAT

token?: string

Property Value

string