@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-10-28T09:54:00.189-05:00[America/Chicago]")
@Component(value="org.openapitools.client.api.SessionApi")
public class SessionApi
extends java.lang.Object
Constructor and Description |
---|
SessionApi() |
SessionApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
<T> T |
createSession(java.lang.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(java.lang.String sessionId)
Retrieve a Session
Retrieves the details about a session
|
PagedList |
getSessionWithPaginationInfo(java.lang.String sessionId)
Retrieve a Session
Retrieves the details about a session
|
Session |
refreshSession(java.lang.String sessionId)
Refresh a Session
Refresh a session
|
PagedList |
refreshSessionWithPaginationInfo(java.lang.String sessionId)
Refresh a Session
Refresh a session
|
void |
revokeSession(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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-2022 Okta. All Rights Reserved.