CodeMieSsoCredentials class final

The result of a successful CodeMie SSO login: the session cookies plus the resolved API base URL.

Constructors

CodeMieSsoCredentials({required Map<String, String> cookies, required String apiUrl, required int expiresAt})
const

Properties

apiUrl String
The API base (<org>/code-assistant-api).
final
authToken String
The full cookie string (key=value;key=value) used for Cookie-header authentication against the CodeMie API. All cookies from the SSO callback are joined — the CodeMie API expects the complete cookie jar, not a single Bearer JWT.
no setter
cookies Map<String, String>
The session cookies from the callback token.
final
expiresAt int
Expiry in milliseconds since epoch (from the access-token JWT exp, 24h fallback).
final
hashCode int
The hash code for this object.
no setterinherited
isExpired bool
Whether the credentials are past expiresAt.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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