Skip to main content

Module handler

Module handler 

Source
Expand description

Reference (Ref) REST endpoints for managing shareable tokens and authentication workflows

Re-exports§

pub use crate::service::create_ref_internal;
pub use crate::service::CreateRefInternalParams;

Structs§

CreateRefRequest
Request structure for creating a new ref
ListRefsQuery
Query parameters for listing refs
RefResponse
Response structure for ref details (authenticated users get full data)
RefResponseMinimal
Minimal response structure for unauthenticated requests (only refId and type)

Functions§

create_ref
POST /api/refs - Create a new ref for authentication workflows
delete_ref
DELETE /api/refs/{ref_id} - Delete/revoke a ref
get_ref
GET /api/refs/{ref_id} - Get a specific ref by ID
list_refs
GET /api/refs - List refs for the current tenant