Config(config ConfigMap) error
Parameters
config
:type ConfigMap struct { Hosts string AccessTokenPath string RefreshAPIPath string CookieDomain string CookieSecure *bool CookieSameSite string }
- These will override the ones specified in the
config.yaml
file: Hosts: string
-;
separated string for all the locations of SuperTokens instances.AccessTokenPath: string
- Seeaccess_token_path
in the config.yaml fileRefreshAPIPath: string
- Seerefresh_api_path
in the config.yaml fileCookieDomain: string
- Seecookie_domain
in the config.yaml fileCookieSecure: *bool
- Seecookie_secure
in the config.yaml fileCookieSameSite: string
- Seecookie_same_site
in the config.yaml file
- These will override the ones specified in the
Returns
- nothing