Module Values.CreateBackendAuthOAuthConfigSource

Creates the OAuth configuration for your Amplify project.

Sourcetype nonrec t = {
  1. domainPrefix : string option;
    (*

    The domain prefix for your Amplify app.

    *)
  2. oAuthGrantType : OAuthGrantType.t;
    (*

    The OAuth grant type that you use to allow app users to authenticate from your Amplify app.

    *)
  3. oAuthScopes : ListOfOAuthScopesElement.t;
    (*

    List of OAuth-related flows used to allow your app users to authenticate from your Amplify app.

    *)
  4. redirectSignInURIs : string list;
    (*

    The redirected URI for signing in to your Amplify app.

    *)
  5. redirectSignOutURIs : string list;
    (*

    Redirect URLs that OAuth uses when a user signs out of an Amplify app.

    *)
  6. socialProviderSettings : SocialProviderSettings.t option;
    (*

    The settings for using social providers to access your Amplify app.

    *)
}
Sourceval context_ : string
Sourceval make : ?domainPrefix:??? -> ?socialProviderSettings:??? -> oAuthGrantType:OAuthGrantType.t -> oAuthScopes:ListOfOAuthScopesElement.t -> redirectSignInURIs:string list -> redirectSignOutURIs:string list -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Enum of string | `String of string ] list | `String of string | `Structure of (string * [> `Structure of (string * [> `String of string ]) list ]) list ]) 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