API Reference
Class
AuthBundle
Represents an authentication bundle for OpenAI providers.
Inheritance
- Object
- AuthBundle
Usage
Explore 17 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 9
- Method GitHubDeviceFlowClient.CompleteAsync
- Method GitHubDeviceFlowClient.RefreshAsync
- Method AuthBundleSerializer.Deserialize
- Method CodexAuthStore.TryReadBundle
- Method FileAuthBundleStore.GetAsync
- Method FileAuthBundleStore.ListAsync
- Method IAuthBundleStore.GetAsync
- Method IAuthBundleStore.ListAsync
- Property OAuthLoginResult.Bundle
Accepted by parameters 8
- Method GitHubDeviceFlowClient.RefreshAsync
- Method AuthBundleSerializer.Serialize
- Method CodexAuthStore.BuildAuthJson
- Method CodexAuthStore.WriteAuthJson
- Method FileAuthBundleStore.SaveAsync
- Method IAuthBundleStore.SaveAsync
- Constructor OAuthLoginResult.OAuthLoginResult
- Method OAuthLoginService.RefreshAsync
Constructors
public AuthBundle(String provider, String accessToken, String refreshToken, DateTimeOffset? expiresAt) #Initializes a new authentication bundle.
Parameters
- provider System.String
- Provider identifier.
- accessToken System.String
- Access token.
- refreshToken System.String
- Refresh token.
- expiresAt System.DateTimeOffset?
- Expiration timestamp.
Methods
public Boolean IsExpired(DateTimeOffset? now = null) #Returns:
BooleanReturns whether the bundle is expired at the given instant.
Parameters
- now System.DateTimeOffset? = null
- Optional clock override.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?