config()
Modifiers
- These will override the ones specified in the
config.yaml
file:
withHosts(String hosts, String apiKey)
- ;
separated string for all the locations of SuperTokens instances. An optional apiKey argument.
withAccessTokenPath(string)
- See access_token_path
in the config.yaml file
withRefreshApiPath(string)
- See refresh_api_path
in the config.yaml file
withCookieDomain(string)
- See cookie_domain
in the config.yaml file
withCookieSecure(boolean)
- See cookie_secure
in the config.yaml file
withCookieSameSite(string)
- See cookie_same_site
in the config.yaml file
Returns
Throws