You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change ensures that DPoP configuration is scoped to individual login requests rather than
125
125
persisting across the entire application lifecycle.
126
126
127
-
### `SSOCredentials.expiresIn`Type Changed to `Date`
127
+
### `SSOCredentials.expiresIn`Renamed to `expiresAt`
128
128
129
-
**Change:** The `expiresIn` property in `SSOCredentials` changed from `Int` to `Date`.
129
+
**Change:** The `expiresIn` property in `SSOCredentials`has been renamed to `expiresAt` and its type changed from `Int` to `Date`.
130
130
131
-
In v3, `expiresIn` held the raw number of seconds until the session transfer token expired. In v4, the SDK now automatically converts this value into an absolute `Date` (computed as current time + seconds) during deserialization, consistent with how `Credentials.expiresAt` works.
131
+
In v3, `expiresIn` held the raw number of seconds until the session transfer token expired. In v4, the SDK now automatically converts this value into an absolute expiration `Date` (computed as current time + seconds) during deserialization, consistent with how `Credentials.expiresAt` works. The property has been renamed to `expiresAt` to reflect that it now represents an absolute point in time rather than a duration.
132
132
133
133
**v3:**
134
134
@@ -141,10 +141,10 @@ val secondsUntilExpiry: Int = ssoCredentials.expiresIn
141
141
142
142
```kotlin
143
143
val ssoCredentials:SSOCredentials=// ...
144
-
val expirationDate:Date= ssoCredentials.expiresIn
144
+
val expirationDate:Date= ssoCredentials.expiresAt
145
145
```
146
146
147
-
**Impact:** If your code previously used `expiresIn` as a duration (e.g., to calculate an expiration time), you can now use it directly as the expiration `Date`.
147
+
**Impact:** If your code references `ssoCredentials.expiresIn`, rename it to `ssoCredentials.expiresAt`. The value is now an absolute `Date` instead of a duration in seconds.
0 commit comments