SDK reference / V1 / Organizations / Item / SecondFactorPolicy
SecondFactorPolicyRequestBuilder
Kind: class
Namespace: Egulu.Sdk.V1.Organizations.Item.SecondFactorPolicy
Request path: /v1/organizations/{org}/secondFactorPolicy
Builds and executes requests for operations under \v1\organizations\{org}\secondFactorPolicy
Methods
| Signature | Description |
|---|---|
Task<Models.SecondFactor.SecondFactorPolicy?> GetAsync(Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default) | Reads the policy (off when the organisation set none). An organisation route is the owner's (ADR-0222); a member sees what the policy asks of them in `accountSecondFactor`. |
Task<Models.SecondFactor.SecondFactorPolicy?> PatchAsync(Models.SecondFactor.SecondFactorPolicyMergePatchUpdate body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default) | Changes the policy (a JSON merge patch), by an owner with a passkey, each change audited. Turning it on starts the grace for every member without a factor. |