Module Values.InitiateProviderRegistrationInputSource

Initiates the OAuth registration flow with a third-party provider. Returns a redirect URL and CSRF state token for completing the authorization.

Sourcetype nonrec t = {
  1. provider : Provider.t;
    (*

    The provider to initiate registration with. Currently, only GITHUB is supported.

    *)
}
Sourceval context_ : string
Sourceval make : provider:Provider.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t