Skip to content

Commit

Permalink
docs: add descriptions to integration type config structs
Browse files Browse the repository at this point in the history
  • Loading branch information
FedorLap2006 committed Mar 21, 2024
1 parent e94c7e5 commit 368042d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,14 @@ const (
ApplicationIntegrationUserInstall ApplicationIntegrationType = 1
)

// ApplicationInstallParams represents application's installation parameters
// for default in-app oauth2 authorization link.
type ApplicationInstallParams struct {
Scopes []string `json:"scopes"`
Permissions int64 `json:"permissions,string"`
}

// ApplicationIntegrationTypeConfiguration represents application's configuration for a particular integration type.
type ApplicationIntegrationTypeConfiguration struct {
OAuth2InstallParams ApplicationInstallParams `json:"oauth2_install_params"`
}
Expand Down

0 comments on commit 368042d

Please sign in to comment.