Skip to main content

Module entra

Module entra 

Source
Expand description

Microsoft Entra ID (Azure AD) integration.

Passwords rotate by administrative reset through Microsoft Graph, so the connector never holds the current credential. The Graph token, client secret and new password are never logged.

StructsΒ§

EntraCredentials πŸ”’
The app-registration credentials every Graph call needs, borrowed from the resolved credentials.
EntraIntegration πŸ”’
Microsoft Entra ID integration driver. Each operation fetches a fresh token; secrets never live in self.
GraphError πŸ”’
Graph error envelope. error.message is never read, since it can echo user-supplied content.
GraphErrorInner πŸ”’
TokenResponse πŸ”’
UserResource πŸ”’

EnumsΒ§

ProbeResult πŸ”’
Result of the ROPC (Resource Owner Password Credentials) verify probe.

ConstantsΒ§

DEFAULT_GRAPH_BASE πŸ”’
DEFAULT_LOGIN_BASE πŸ”’
GRAPH_SCOPE πŸ”’
HTTP_TIMEOUT πŸ”’
VERIFY_CLOCK_SLACK πŸ”’
Clock-slack tolerance for the lastPasswordChangeDateTime freshness check.
VERIFY_MAX_WAIT πŸ”’
How long verify polls Graph for a fresh lastPasswordChangeDateTime.
VERIFY_POLL_INTERVAL πŸ”’

FunctionsΒ§

get_cred πŸ”’
Look up a required credential suffix, or fail with credentials_unresolved naming only the suffix.
is_safe_graph_error_code πŸ”’
Matches ^[A-Za-z0-9_]{1,64}$.
network_error_after_send πŸ”’
Maps a send error for a mutation. A connect error stays Transient with pre_send_effect; anything else is Unknown, since the mutation may have reached Graph.
network_error_before_send πŸ”’
Maps a send error for a request with no credential effect; always Transient.
read_graph_error_code πŸ”’
Read Graph’s error.code from an error body. A code that fails ^[A-Za-z0-9_]{1,64}$ counts as absent, to prevent log injection from attacker-influenced responses.