Classes
The following classes are available globally.
-
Declaration
Swift
public class AgentDelegate<T> : AgentDelegateProtocol -
A module that integrates OIDC capabilities into the DaVinci workflow.
See moreDeclaration
Swift
public class OidcModule -
A module that integrates OIDC capabilities into the DaVinci workflow.
See moreDeclaration
Swift
public class WebModule -
Class representing an OpenID Connect client.
- Property pkce: PKCE object used for the Authorization call.
Declaration
Swift
public class OidcClient -
Configuration class for OIDC client.
See moreImportant
This class is@unchecked Sendableand contains mutablevarfields. Configure all properties before passing the instance to any client or workflow — do not mutate it afterwards, as it may be read concurrently from background threads.Declaration
Swift
public class OidcClientConfig : @unchecked Sendable -
A client that implements the RFC 8628 Device Authorization Grant (requesting-device side).
Use
OidcDeviceClientwhen the device cannot open a browser directly (e.g., a smart TV or CLI tool). CalldeviceAuthorization()to start the flow and receive a stream ofDeviceFlowStatusupdates. The stream yields.startedwith theuserCodeandverificationUrito display, then.pollingon each poll, and finally.success,.accessDenied, or.expiredwhen the flow resolves.See moreImportant
OidcClientConfigis marked@unchecked Sendableand contains mutablevarfields. Do not mutate the config after passing it to this initializer — the polling loop captures the config and reads it from a background thread.Declaration
Swift
public class OidcDeviceClient : @unchecked Sendable -
OidcWebClientConfig is a subclass of WorkflowConfig
See moreDeclaration
Swift
public class OidcWebClientConfig : WorkflowConfig, @unchecked SendableParameters
configThe configuration for the OIDC workflow.
Return Value
An instance of OidcWebClient configured for OIDC login.
View on GitHub
Classes Reference