Skip to main content

Module ciba

Module ciba 

Source
Expand description

OpenID Connect Client-Initiated Backchannel Authentication (CIBA).

Implements the CIBA flow where a consumption device (e.g. a POS terminal or call-center application) authenticates the user on a separate authentication device (e.g. the user’s phone) without a browser redirect.

§Modes

  • Poll — the client repeatedly polls the token endpoint.
  • Ping — the OP sends a notification to the client’s callback URI, then the client fetches the token.
  • Push — the OP pushes the token directly to the client’s callback URI.

§References

Structs§

CibaAuthRequest
A backchannel authentication request sent by the consumption device.
CibaAuthResponse
Successful response to a backchannel authentication request.
CibaConfig
Configuration for a CIBA provider.
CibaProvider
In-memory CIBA provider implementing Auth Request → Token lifecycle.
CibaTokenResponse
Token response after successful authentication.

Enums§

CibaError
Error response per CIBA spec.
CibaMode
CIBA token delivery mode.
CibaRequestStatus
Pending request state.
LoginHint
Hint identifying the end-user to authenticate.