DaVinciOptions

public struct DaVinciOptions : Sendable

Options used to supply caller inputs before the DaVinci flow begins.

Currently used for the RFC 8628 Device Authorization Grant (approving-device side). When verificationUriComplete is set, OidcModule.setup.start extracts the user_code query parameter from the URL and includes it in the outgoing authorization request so the authorization server can approve the requesting device.

  • The verificationUriComplete URL from an RFC 8628 device authorization response.

    When set, the DaVinci OidcModule will extract the user_code query parameter from this URL and include it in the device-flow verification request, approving the requesting device.

    Declaration

    Swift

    public var verificationUriComplete: URL?