constants

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultOAuthTokenEndpoint = "https://account.apple.com/auth/oauth2/v2/token"
	DefaultJWTAudience        = "appstoreconnect-v1"
)

OAuth 2.0 / JWT Authentication endpoints and configuration

View Source
const (
	ScopeBusinessAPI = "business.api"
	ScopeSchoolAPI   = "school.api"
)

OAuth scope constants

View Source
const (
	EndpointOrgDevices          = APIVersionV1 + "/orgDevices"
	EndpointMDMServers          = APIVersionV1 + "/mdmServers"
	EndpointOrgDeviceActivities = APIVersionV1 + "/orgDeviceActivities"
)

Endpoint path constants for the Apple Business Manager API

View Source
const (
	APIVersionV1 = "/v1"
)

API version prefix

View Source
const (
	ApplicationJSON = "application/json"
)

MIME type constants for HTTP headers

View Source
const (
	DefaultBaseURL = "https://api-business.apple.com"
)

API base URL

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL