Class AuthenticationService
java.lang.Object
edu.suffolk.litlab.efsp.server.services.AuthenticationService
@Path("/authenticate")
@Produces("application/json")
public class AuthenticationService
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
authenticateUser
(String loginInfo) Log in the user to all of the requested e-filing EFMs.
-
Constructor Details
-
AuthenticationService
-
-
Method Details
-
authenticateUser
Log in the user to all of the requested e-filing EFMs.- Parameters:
loginInfo
- should be a JSON object, with the following keys:- api_key: the api key for this server
- tyler-myJurisdiction: an object ('myJurisdiction' can be any jurisdiction), with
these tyler jurisdiction values:
- username: Any tyler jurisdiction username. Example: 'illinois'
- password: The jurisdiction's password
{"api_key": "abc123", "tyler-illinois": {"username": "bob@example.com", "password": "my_P@ssword1"}}
- Returns:
- 200 and the logged in tokens to hang on to and send in with every call
- An example of the JSON response from this endpoint.
- application/json {"tokens": {"TYLER-TOKEN-ILLINOIS": "bob@example.com:12345678-1234-1234-1234-12345678abcd", "TYLER-ID-illinois": "12345678-1234-1234-1234-12345678abdc"}}
-