Class SelfSignupPolicy.Builder
- All Implemented Interfaces:
SelfSignupPolicy._FinalStage,SelfSignupPolicy.RoleIdStage,SelfSignupPolicy.SignupTypeStage
- Enclosing class:
SelfSignupPolicy
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()from(SelfSignupPolicy other) The role a brand-new self-signup caller matching this signupType is bound to.signupType(@NotNull String signupType) The plain slug the frontend and the blueprint agree on to select this policy entry (e.g.
-
Method Details
-
from
- Specified by:
fromin interfaceSelfSignupPolicy.SignupTypeStage
-
signupType
The plain slug the frontend and the blueprint agree on to select this policy entry (e.g. 'practitioner', 'client'). Same grammar as a role id (lowercase letter first, then a-z 0-9 -, 3-31 chars). Caller-supplied at exchange time via the request's signup_type field; omitted on the request means 'the sole entry', valid only when this list has exactly one.
The plain slug the frontend and the blueprint agree on to select this policy entry (e.g. 'practitioner', 'client'). Same grammar as a role id (lowercase letter first, then a-z 0-9 -, 3-31 chars). Caller-supplied at exchange time via the request's signup_type field; omitted on the request means 'the sole entry', valid only when this list has exactly one.
- Specified by:
signupTypein interfaceSelfSignupPolicy.SignupTypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
roleId
The role a brand-new self-signup caller matching this signupType is bound to. Must never resolve to a role carrying elevated (provisioning or wildcard) scope — checked when you register this policy (skipped if the role doesn't exist yet) and always checked again, unskippable, at the moment a caller actually signs up.
The role a brand-new self-signup caller matching this signupType is bound to. Must never resolve to a role carrying elevated (provisioning or wildcard) scope — checked when you register this policy (skipped if the role doesn't exist yet) and always checked again, unskippable, at the moment a caller actually signs up.
- Specified by:
roleIdin interfaceSelfSignupPolicy.RoleIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
- Specified by:
buildin interfaceSelfSignupPolicy._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceSelfSignupPolicy._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceSelfSignupPolicy._FinalStage
-