Back to Pocketbase

Interface AppleClientSecretCreate

static/jsvm/interfaces/forms.AppleClientSecretCreate.html

latest2.4 KB
Original Source

Interface AppleClientSecretCreate

AppleClientSecretCreate is a form struct to generate a new Apple Client Secret.

Reference: https://developer.apple.com/documentation/sign_in_with_apple/generate_and_validate_tokens

Hierarchy

Implemented by

Index

Methods

submitvalidate

Properties

clientIddurationkeyIdprivateKeyteamId

Methods

submit

  • submit(): string

Submit validates the form and returns a new Apple Client Secret JWT.

Returns string

validate

  • validate(): void

Validate makes the form validatable by implementing [validation.Validatable] interface.

Returns void

Properties

clientId

clientId: string

ClientId is the identifier of your app (aka. Service ID).

duration

duration: number

Duration specifies how long the generated JWT should be considered valid. The specified value must be in seconds and max 15777000 (~6months).

keyId

keyId: string

KeyId is a 10-character key identifier generated for the "Sign in with Apple" private key associated with your developer account.

privateKey

privateKey: string

PrivateKey is the private key associated to your app. Usually wrapped within -----BEGIN PRIVATE KEY----- X -----END PRIVATE KEY-----.

teamId

teamId: string

TeamId is a 10-character string associated with your developer account (usually could be found next to your name in the Apple Developer site).

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

On This Page

Generated using TypeDoc