ManagementApi
All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
getDefaultProperties | GET /user/management/default-properties | Gets default properties of biometric operations |
getManagementInfo | GET /user/management/info | Gets information and vital parameters of management |
login | POST /login | |
oauth2Token | POST /oauth2/token | Token endpoint |
getDefaultProperties
List getDefaultProperties()
Gets default properties of biometric operations
Parameters
This endpoint does not need any parameter.
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json, /
getManagementInfo
Map getManagementInfo()
Gets information and vital parameters of management
Parameters
This endpoint does not need any parameter.
Return type
Map
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json, /
login
LoginResponse login(password, username)
Authenticates a user using username and password. Returns auth type and granted authorities.
Parameters
Name | Type | Description | Notes |
---|---|---|---|
password | String | [default to null] | |
username | String | [default to null] |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json, /
oauth2Token
AccessTokenResponse oauth2Token(client_id, client_secret, code, code_verifier, grant_type, redirect_uri, scope)
Token endpoint
Token endpoint for both client_credentials and authorization_code (PKCE) flows.
Parameters
Name | Type | Description | Notes |
---|---|---|---|
client_id | String | Client ID | [optional] [default to null] |
client_secret | String | Client Secret (only for client_credentials) | [optional] [default to null] |
code | String | Authorization code (only for authorization_code flow) | [optional] [default to null] |
code_verifier | String | PKCE code verifier (authorization_code flow) | [optional] [default to null] |
grant_type | String | OAuth2 grant type | [optional] [default to client_credentials] |
redirect_uri | String | Redirect URI (authorization_code flow) | [optional] [default to null] |
scope | String | Requested scope (only for client_credentials) | [optional] [default to null] |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json, /