async getMagicLink(options) {
        const type = options.type ?? 'signin';
        const token = await this.tokenProvider.create({...options.tokenData, type});

        return this.getSigninURL(token, type, options.referrer);
    }
getMagicLink

@param {object} options
@param {TokenData} options.tokenData - The data for token
@param {string} [options.type='signin'] - The type to be passed to the url and content generator functions. This type will also get stored in the token data.
@param {string} [options.referrer=null] - The referrer of the request, if exists. The member will be redirected back to this URL after signin.
@returns {Promise<URL>} - signin URL