react-native-younify-connect-sdk
    Preparing search index...

    Interface ConnectOptions

    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.

    interface ConnectOptions {
        key: string | null;
        logLevel: LogLevel;
        logListener?: LogListener | null;
        tokenHandler: TokenHandler | null;
        accessToken?: string | null;
        refreshToken?: string | null;
        extra?: object | null;
    }
    Index

    Properties

    key: string | null

    Required key.

    logLevel: LogLevel

    Minimum log level. Log statements below logLevel will not be sent to logListener.

    logListener?: LogListener | null

    Optional log listener for receiving log events.

    tokenHandler: TokenHandler | null

    Optional token handler for handling token events and renewals.

    accessToken?: string | null

    The user's access token if known at startup.

    refreshToken?: string | null

    The user's refresh token if known at startup.

    extra?: object | null

    Extra options.