Skip to main content

requireUserAuth

Requires admin user authentication.

directive @requireUserAuth(
roles: [String]
) on FIELD_DEFINITION

Arguments

requireUserAuth.roles ● [String] list scalar references

Roles the admin user must have to authenticate (ANY).