View source: R/suso_gql_credentials.R
suso_gql_pwcheck | R Documentation |
This function returns a 200 status code if credentials are correct and a 400 code otherwise.
suso_gql_pwcheck(
endpoint = NULL,
user = NULL,
password = NULL,
workspace = NULL,
token = NULL
)
endpoint |
Survey Solutions GraphQl |
user |
API user |
password |
API password |
workspace |
endpoint workspace Name, if nothing provided, defaults to primary |
token |
If Survey Solutions endpoint token is provided user and password will be ignored |
200 code if correct, 400 if incorrect.
# With default credentials returns 400
suso_gql_pwcheck()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.