ZingGrid: Can I have an Authorization Header?
Yes you can, but you'll have to send an authorization header with the grid.
-
If you're doing this in the open client inside an authorized application, just pass the token along using
zg-param
's
<zg-param name="header" value='{"Authorization": "Basic super=secret=hash"}'></zg-param>
-
If you're doing this in the open client, outside of an authorized application, it's probably not the best idea.
-
If you're doing this in the client but internal/admin dashboard, make a permanent auth key/user.=