Class FromDeveloper
java.lang.Object
bg.codexio.ai.openai.api.sdk.auth.FromDeveloper
- All Implemented Interfaces:
SdkAuth
Use this for manually passing the credentials and still
conforming the
SdkAuth contract.-
Method Summary
Modifier and TypeMethodDescriptionbg.codexio.ai.openai.api.payload.credentials.ApiCredentialsstatic FromDeveloperdoPass(bg.codexio.ai.openai.api.payload.credentials.ApiCredentials apiCredentials) Factory function to by as close as possible to the otherSdkAuthimplementations.
-
Method Details
-
doPass
public static FromDeveloper doPass(bg.codexio.ai.openai.api.payload.credentials.ApiCredentials apiCredentials) Factory function to by as close as possible to the otherSdkAuthimplementations.- Parameters:
apiCredentials-ApiCredentials- Returns:
- new instance of the current class with configured credentials
-
credentials
public bg.codexio.ai.openai.api.payload.credentials.ApiCredentials credentials()- Specified by:
credentialsin interfaceSdkAuth- Returns:
- ready for usage instance of
ApiCredentials
-