Expand description
BOS session template queries and BOS session creation with access validation.
BOS session creation runs a two-step
validate_and_prepare_template_session + create_bos_session
flow so authorization (which fans across template targets and the
limit argument) is separate from the actual post_template_session
call. The split also keeps each side individually unit-testable.
Structs§
- Apply
Template Params - Parameters for applying a BOS session template.
- GetTemplate
Params - Typed parameters for fetching BOS session templates.
Functions§
- create_
bos_ session - Submit a [
BosSession] previously built byvalidate_and_prepare_template_session. - get_
templates - List BOS session templates visible to the caller.
- validate_
and_ prepare_ template_ session - Build the [
BosSession] thatcreate_bos_sessionwill submit, after validating every xname/group the operation will touch.