Type Alias AuthSettingsJSONPatch

A JSON Patch document for authentication settings as defined in http://tools.ietf.org/html/rfc6902.

type AuthSettingsJSONPatch = {
    op: "replace";
    path:
        | "/userSessionInactivityTimeoutMinutes"
        | "/maxUserSessionLifespanMinutes"
        | "/dynamicClientRegistrationEnabled"
        | "/dcrAllowedAuthenticationMethods";
    value: number
    | boolean
    | string
    | string[];
}
Index
op: "replace"

The operation to be performed.

path:
    | "/userSessionInactivityTimeoutMinutes"
    | "/maxUserSessionLifespanMinutes"
    | "/dynamicClientRegistrationEnabled"
    | "/dcrAllowedAuthenticationMethods"

A JSON Pointer to the authentication settings field. Use /dynamicClientRegistrationEnabled only with a boolean value. Field /dcrAllowedAuthenticationMethods is only available when dynamic client registration is enabled.

value: number | boolean | string | string[]

Value to set for the targeted authentication settings field. Timeout fields accept only integer values, /dynamicClientRegistrationEnabled accepts only boolean values, and /dcrAllowedAuthenticationMethods accepts an array of strings.