-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package jamfpro | ||
|
||
// Endpoint constants represent the URL suffixes used for Jamf API token interactions. | ||
const ( | ||
APIName = "jamf pro" // APIName: represents the name of the API. | ||
DefaultBaseDomain = ".jamfcloud.com" // DefaultBaseDomain: represents the base domain for the jamf instance. | ||
OAuthTokenEndpoint = "/api/oauth/token" // OAuthTokenEndpoint: The endpoint to obtain an OAuth token. | ||
Check failure Code scanning / Golang security checks by gosec Potential hardcoded credentials Error
Potential hardcoded credentials
|
||
BearerTokenEndpoint = "/api/v1/auth/token" // BearerTokenEndpoint: The endpoint to obtain a bearer token. | ||
Check failure Code scanning / Golang security checks by gosec Potential hardcoded credentials Error
Potential hardcoded credentials
|
||
TokenRefreshEndpoint = "/api/v1/auth/keep-alive" // TokenRefreshEndpoint: The endpoint to refresh an existing token. | ||
Check failure Code scanning / Golang security checks by gosec Potential hardcoded credentials Error
Potential hardcoded credentials
|
||
TokenInvalidateEndpoint = "/api/v1/auth/invalidate-token" // TokenInvalidateEndpoint: The endpoint to invalidate an active token. | ||
Check failure Code scanning / Golang security checks by gosec Potential hardcoded credentials Error
Potential hardcoded credentials
|
||
BearerTokenAuthenticationSupport = true // BearerTokenAuthSuppport: A boolean to indicate if the API supports bearer token authentication. | ||
OAuthAuthenticationSupport = true // OAuthAuthSuppport: A boolean to indicate if the API supports OAuth authentication. | ||
OAuthWithCertAuthenticationSupport = false // OAuthWithCertAuthSuppport: A boolean to indicate if the API supports OAuth with client certificate authentication. | ||
) |