RepositoryAccessObject interface
Credentials to access repository.
Properties
| client |
OAuth ClientId. Required when |
| code | OAuth Code. Required when |
| installation |
Application installation ID. Required when |
| kind | The kind of repository access credentials |
| state | OAuth State. Required when |
| token | Personal Access Token. Required when |
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