Connectum API Reference / @connectum/auth / proto / MethodAuth
Type Alias: MethodAuth
MethodAuth =
Message<"connectum.auth.v1.MethodAuth"> &object
Defined in: packages/auth/gen/connectum/auth/v1/options_pb.d.ts:39
Authorization configuration for an RPC method.
Type Declaration
policy
policy:
string
Override the service-level default_policy for this method. Valid values: "allow", "deny".
Generated
from field: optional string policy = 3;
public
public:
boolean
Skip both authentication and authorization for this method.
Generated
from field: optional bool public = 1;
requires?
optionalrequires:AuthRequirements
Access requirements (roles/scopes) for this method.
Generated
from field: optional connectum.auth.v1.AuthRequirements requires = 2;
Generated
from message connectum.auth.v1.MethodAuth
