Security API

post
Query parameters
organizationCodestringOptional
emailstringOptional
impersonatorOrganizationCodestringOptional
impersonatorUserEmailstringOptional
Responses
chevron-right
200

OK

No content

post
/api/security/cookies/login
200

OK

No content

post
Responses
chevron-right
200

OK

No content

post
/api/security/cookies/logout
200

OK

No content

Creates a new authentication cookie with the specified name and lifetime using the raw request body as the cookie value.

post

In contrast to security/cookies/generate endpoint, this endpoint makes no assumptions about the request body. This means you can POST whatever cookie name and cookie value you want (encoded/escaped or not) and this method tries to create a new cookie for you. This is useful for testing the behaviour of the API when it receives unexpected (or corrupted) cookie tokens. Please note this endpoint is available in localhost environments only!

Query parameters
namestringOptional

The name of the cookie to create. If not provided, uses the default cookie name from API configuration settings.

lifetimeinteger · int32Optional

The lifetime of the cookie in seconds. If not provided, uses the default lifetime from API configuration settings.

Responses
chevron-right
200

OK

No content

post
/api/security/cookies/create
200

OK

No content

Decodes and deserializes a cookie token from the request body.

post
Responses
chevron-right
200

OK

No content

post
/api/security/cookies/decode
200

OK

No content

Generates a new authentication cookie using the provided token from the request body.

post
Responses
chevron-right
200

OK

No content

post
/api/security/cookies/generate
200

OK

No content

Introspects the current authentication cookie and returns detailed information about the authentication and authorization status.

get
Authorizations
InSite.WebTokenstringRequired
Responses
chevron-right
200

OK

No content

get
/api/security/cookies/introspect
200

OK

No content

Validates a cookie token from the request body without setting it as an authentication cookie.

post
Responses
chevron-right
200

OK

No content

post
/api/security/cookies/validate
200

OK

No content

post
Authorizations
BearerstringRequired
Path parameters
languagestringRequired
Responses
chevron-right
200

OK

No content

post
/api/security/cookies/change-language/{language}
200

OK

No content

post
Authorizations
BearerstringRequired
Path parameters
themestringRequired
Responses
chevron-right
200

OK

No content

post
/api/security/cookies/change-theme/{theme}
200

OK

No content

post
Authorizations
BearerstringRequired
Responses
chevron-right
200

OK

No content

post
/api/security/cookies/refresh-session
200

OK

No content

post
Responses
chevron-right
200

OK

No content

post
/api/security/passwords/hash
200

OK

No content

get
Authorizations
SecretstringRequired
Responses
chevron-right
200

OK

No content

get
/api/security/secrets/introspect
200

OK

No content

post
Body
debugbooleanOptional
secretstring · nullableOptional
lifetimeinteger · int32 · nullableOptional
organizationstring · uuid · nullableOptional
agentstring · uuid · nullableOptional
subjectstring · uuid · nullableOptional
Responses
chevron-right
200

OK

No content

post
/api/security/tokens/generate
200

OK

No content

get
Authorizations
BearerstringRequired
Responses
chevron-right
200

OK

No content

get
/api/security/tokens/introspect
200

OK

No content

post
Responses
chevron-right
200

OK

No content

post
/api/security/tokens/validate
200

OK

No content

Last updated

Was this helpful?