SessionsApi class

Constructors

SessionsApi.new([ApiClient? apiClient])

Properties

apiClient ApiClient
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createSession({CreateSessionRequest? createSessionRequest}) Future<Session?>
Create a new active session
createSessionToken(String sessionId, {CreateSessionTokenRequest? createSessionTokenRequest}) Future<CreateSessionToken200Response?>
Create a session token
createSessionTokenFromTemplate(String sessionId, String templateName, {CreateSessionTokenFromTemplateRequest? createSessionTokenFromTemplateRequest}) Future<CreateSessionToken200Response?>
Create a session token from a jwt template
createSessionTokenFromTemplateWithHttpInfo(String sessionId, String templateName, {CreateSessionTokenFromTemplateRequest? createSessionTokenFromTemplateRequest}) Future<Response>
Create a session token from a jwt template
createSessionTokenWithHttpInfo(String sessionId, {CreateSessionTokenRequest? createSessionTokenRequest}) Future<Response>
Create a session token
createSessionWithHttpInfo({CreateSessionRequest? createSessionRequest}) Future<Response>
Create a new active session
getSession(String sessionId) Future<Session?>
Retrieve a session
getSessionList({String? clientId, String? userId, String? status, bool? paginated, int? limit, int? offset}) Future<List<Session>?>
List all sessions
getSessionListWithHttpInfo({String? clientId, String? userId, String? status, bool? paginated, int? limit, int? offset}) Future<Response>
List all sessions
getSessionWithHttpInfo(String sessionId) Future<Response>
Retrieve a session
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
revokeSession(String sessionId) Future<Session?>
Revoke a session
revokeSessionWithHttpInfo(String sessionId) Future<Response>
Revoke a session
toString() String
A string representation of this object.
inherited
verifySession(String sessionId, {VerifySessionRequest? verifySessionRequest}) Future<Session?>
Verify a session
verifySessionWithHttpInfo(String sessionId, {VerifySessionRequest? verifySessionRequest}) Future<Response>
Verify a session

Operators

operator ==(Object other) bool
The equality operator.
inherited