Skip to content

Product documentation

LoginMethodPolicy

The LoginMethodPolicy resource.

LoginMethodPolicy

The LoginMethodPolicy resource.

Base URL: https://api.stg.thoryn.org

Operations

MethodPathSummaryScopes
GET/api/v1/login-methodsLogin Method Policy Gettenant:idp.read
PUT/api/v1/login-methodsLogin Method Policy Puttenant:idp.write
DELETE/api/v1/login-methodsLogin Method Policy Deletetenant:idp.write

Operation details

GET /api/v1/login-methods

Login Method Policy Get

  • Operation ID: loginMethodPolicyGet
  • Required scopes: tenant:idp.read

Responses:

StatusDescriptionBody
200OKLoginMethodPolicyResponse
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

PUT /api/v1/login-methods

Login Method Policy Put

  • Operation ID: loginMethodPolicyPut
  • Required scopes: tenant:idp.write

Request body (required): application/jsonPutLoginMethodPolicyRequest

Responses:

StatusDescriptionBody
200OKLoginMethodPolicyResponse
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

DELETE /api/v1/login-methods

Login Method Policy Delete

  • Operation ID: loginMethodPolicyDelete
  • Required scopes: tenant:idp.write

Responses:

StatusDescriptionBody
204Reset to the default (every method offered); no content.
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)