Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TestAppConfig = map[string]interface{}{ "app": map[string]interface{}{ "name": "Rownd (dev)", "id": "290167281732813315", "schema": map[string]interface{}{ "email": map[string]interface{}{ "display_name": "Email", "type": "string", "data_category": "pii_basic", "required": false, "owned_by": "user", "user_visible": true, "revoke_after": "1 month", "required_retention": "none", "collection_justification": "This piece of personal data is needed to make your customer experience the best it can be. We do not resell this data.", "opt_out_warning": "By turning off your e-mail, your account will no longer work as designed. You may not be able to log-in, get updates, or reset your password", }, }, }, }
TestAppConfig provides a mock app configuration for testing
Functions ¶
func GenerateTestToken ¶
GenerateTestToken creates a test JWT token for testing
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.