Skip to content
DocsReference
DocsReferenceGitHub

Search Ridu documentation

tab controls

Loading search…

Search will be ready in a moment.

No matching results

Try a different term or search every section.

Loading search.

Preparing index…View all results →↑↓ move↵ openesc close
Get started
Modules/core
TAuthAccessRule

Go packages

riducorefieldqueryschemastorestoragemigrationmigration/payloadprotocol (Go)plugintestconformance

Official adapters

postgressqlitemongodbstorage/localstorage/s3

Official plugins

graphqlmcprichtextseoformbuilder@riducms/plugin-richtext@riducms/plugin-seo@riducms/plugin-form-builder

TypeScript packages

@riducms/sdk@riducms/protocol@riducms/plugin@riducms/build@riducms/ui@riducms/admin@riducms/translations@riducms/cli/run

Tooling

ridu CLI
Allcoreridufieldqueryschemastorestoragemigrationmigration/payloadprotocol (Go)plugintestpostgressqlitemongodbgraphqlmcprichtextseoformbuilderstorage/localstorage/s3conformance@riducms/sdk@riducms/protocol@riducms/plugin@riducms/build@riducms/ui@riducms/plugin-richtext@riducms/plugin-seo@riducms/plugin-form-builder@riducms/admin@riducms/translations@riducms/cli/runridu CLI
All 360PluginMigrationAuthStrategyAuthStrategyContextAuthStrategyResultAuthAccessRuleAuthHookAuthOperationAuthSessionInfo

type

AuthAccessRule

type AuthAccessRule func(AuthContext) (bool, error)

Allow or deny one authentication operation.

Source core/auth_contract.go:39

@param context
The secret-free operation and actor context.
@returns
True to allow, false to deny, or an error when evaluation failed.

Related types

  • AuthContext

    Request and actor state supplied to an authentication rule or hook.