Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) BearerToken ¶
BearerToken returns a signed JWT token for AppStoreConnect. This method handles token reuse.
type Config ¶
type Config struct { ISS string KID string // ExpiresIn defines when the token should expire. // It is AppStore's responsibility to enforce token expiration check. // This field is only used to set `exp` field in Claims // defined at https://tools.ietf.org/html/rfc7519#section-4.1.4. // // This field should not be set more than 20 minutes in the future // for AppStore to consider it valid. ExpiresIn time.Duration AUD string PK string }
Click to show internal directories.
Click to hide internal directories.