Package ai.vectros.types
Class AccessProfileRequest
java.lang.Object
ai.vectros.types.AccessProfileRequest
-
Method Details
-
getPrincipalId
- Returns:
- Principal this profile applies to. Must start with
usr_(an authenticated user — the suffix is the user id) orkey_(a scoped API key acting as its own principal — the suffix is the key id). The suffix may contain only letters, digits, underscores, and hyphens. Required when creating (POST); ignored when updating (PUT), where it is taken from the path.
-
getScopes
- Returns:
- Inline scope clauses to grant the principal. Provide exactly one of
scopesorroleId— setting both, or neither, returns a 400.
-
getRoleId
- Returns:
- Reference to a role within the same context that supplies this principal's scopes. Provide exactly one of
scopesorroleId— setting both, or neither, returns a 400. Changes to the role's scopes take effect for all referencing profiles.
-
getIdentityOverrides
- Returns:
- Optional per-context identity overrides, keyed by ownership namespace in
scope:<namespace>form —scope:organdscope:clientfor the reserved namespaces, or any namespace you have registered (for examplescope:group). At most two namespaces may be overridden; any other key is rejected. An empty or omitted map applies no overrides — the base identity from the user or key record is used as-is.
-
getStatus
- Returns:
- Profile lifecycle status.
activepermits token minting;suspendeddenies it (minting returns a uniform 403). Defaults toactivewhen omitted.
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-