GetStream / stream-cli

Configure & manage Stream applications from the command line. 🚀
https://yarnpkg.com/en/package/getstream-cli
BSD 3-Clause "New" or "Revised" License
85 stars 19 forks source link

Add support for app auth settings #10

Closed tbarbugli closed 5 years ago

tbarbugli commented 5 years ago

Auth Check (dev token)

// disable auth checks, allows dev token usage
await client.updateAppSettings({
    disable_auth_checks: true,
});

// re-enable auth checks
await client.updateAppSettings({
    disable_auth_checks: false,
});

Permission checking

// disable permission checks
await client.updateAppSettings({
    disable_permissions_checks: true,
});

// re-enable permission checks
await client.updateAppSettings({
    disable_permissions_checks: false,
});
astrotars commented 5 years ago

Support added in getstream-cli@0.0.43.