Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIProxy ¶
type APIProxy struct {
// contains filtered or unexported fields
}
APIProxy is the main server that handles API requests.
func NewAPIProxy ¶
func NewAPIProxy( ctx context.Context, cfg *config.Config, schwabClient schwabapi.ProviderClient, tokenService auth.TokenServicer, clientService *auth.ClientService, store *storage.Store, otelProviders *observability.OTelProviders, ) (*APIProxy, error)
NewAPIProxy creates a new API proxy server.
type ApprovalListItem ¶
type ApprovalListItem struct {
ID string `json:"id"`
ClientID string `json:"client_id"`
CreatedAt string `json:"created_at"`
}
ApprovalListItem represents a minimal approval item in the list response.
type ClientResponse ¶
type ClientWithSecretResponse ¶
type ClientWithSecretResponse struct {
ClientResponse
Secret string `json:"secret"`
}
type CreateClientRequest ¶
type ResponseData ¶ added in v0.2.0
ResponseData holds the necessary data from an HTTP response.
Click to show internal directories.
Click to hide internal directories.