Required key.
Minimum log level. Log statements below logLevel will not be sent to logListener.
Optional
logOptional log listener for receiving log events.
Optional token handler for handling token events and renewals.
Optional
accessThe user's access token if known at startup.
Optional
refreshThe user's refresh token if known at startup.
Optional
extraExtra options.
Younify Connect SDK startup options.
Set the properties of this object to configure the sdk. The key and tokenHandler properties are required. The accessToken and refreshToken properties are required for linking and fetching service content for the user and can be set at a later time if unknown at startup. The tokens can be created from the backend api. The tokenHandler must be set to handle updated tokens and requests from the sdk to renew tokens from the backend api.