Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides access to Apple Business Manager API
type Config ¶
type Config struct {
// JWT configuration for Apple Business Manager API
JWTConfig *JWTConfig
}
Config holds the configuration for the ABM API client
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error"`
ErrorDescription string `json:"error_description"`
}
ErrorResponse represents an error response from the ABM API
type JWTConfig ¶
type JWTConfig struct {
// ClientID is the OAuth client identifier
ClientID string
// PrivateKey is the private key for signing (e.g., *ecdsa.PrivateKey, *rsa.PrivateKey)
PrivateKey crypto.Signer
// KeyID is the key identifier (kid) for the JWT header
KeyID string
}
JWTConfig holds configuration for JWT-based OAuth2 authentication
Click to show internal directories.
Click to hide internal directories.