@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-01-18T04:14:02.238-06:00[America/Chicago]") @Component(value="org.openapitools.client.api.SessionApi") public class SessionApi extends Object
Constructor and Description |
---|
SessionApi() |
SessionApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
<T> T |
createSession(Class<?> T,
CreateSessionRequest createSessionRequest)
Create a Session with Session Token
Creates a new session for a user with a valid session token.
|
Session |
createSession(CreateSessionRequest createSessionRequest)
Create a Session with Session Token
Creates a new session for a user with a valid session token.
|
PagedList |
createSessionWithPaginationInfo(CreateSessionRequest createSessionRequest)
Create a Session with Session Token
Creates a new session for a user with a valid session token.
|
ApiClient |
getApiClient() |
Session |
getSession(String sessionId)
Retrieve a Session
Retrieves the details about a session
|
PagedList |
getSessionWithPaginationInfo(String sessionId)
Retrieve a Session
Retrieves the details about a session
|
Session |
refreshSession(String sessionId)
Refresh a Session
Refresh a session
|
PagedList |
refreshSessionWithPaginationInfo(String sessionId)
Refresh a Session
Refresh a session
|
void |
revokeSession(String sessionId)
Revoke a Session
Revokes a session
|
void |
setApiClient(ApiClient apiClient) |
public SessionApi()
@Autowired public SessionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public Session createSession(CreateSessionRequest createSessionRequest) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
createSessionRequest
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic <T> T createSession(Class<?> T, CreateSessionRequest createSessionRequest) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
T
- (required) - the assignable return typecreateSessionRequest
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList createSessionWithPaginationInfo(CreateSessionRequest createSessionRequest) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
createSessionRequest
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic Session getSession(String sessionId) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
sessionId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList getSessionWithPaginationInfo(String sessionId) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
sessionId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic Session refreshSession(String sessionId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
sessionId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList refreshSessionWithPaginationInfo(String sessionId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
sessionId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void revokeSession(String sessionId) throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
sessionId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APICopyright © 2017–2023 Okta. All rights reserved.