Contents

init

Initialize the authentication object with a configuration object.

Declaration

void init(
	ClientConfigI config
);

Parameters

  • config:

    The client configuration object used for initialization.

Mentioned in

Discussion

Use this method to configure the authentication object. Alternatively, you can use meta tags on your website to configure the authentication object.

<head>
   <meta name="appleid-signin-client-id" content="[CLIENT_ID]">
   <meta name="appleid-signin-scope" content="[SCOPES]">
   <meta name="appleid-signin-redirect-uri" content="[REDIRECT_URI]">
   <meta name="appleid-signin-state" content="[STATE]">
</head>

See Also

Initializing the sign in process