/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Request for an OAuth2 authorization url. * @export * @interface OAuthUrlRequest */ export interface OAuthUrlRequest { /** * Supported OAuth providers * @type {string} * @memberof OAuthUrlRequest */ provider?: OAuthUrlRequestProviderEnum; /** * The URL that the OAuth provider is expected to redirect to after authenticating the user. * @type {string} * @memberof OAuthUrlRequest */ redirectUrl?: string; /** * State to be echoed in the redirect URL as a request parameter named 'state'. Supported by some OAuth providers. * @type {string} * @memberof OAuthUrlRequest */ state?: string; } /** * @export */ export declare const OAuthUrlRequestProviderEnum: { readonly GOOGLE_OAUTH_2_0: "GOOGLE_OAUTH_2_0"; readonly ORCID: "ORCID"; readonly ARCUS_BIOSCIENCES: "ARCUS_BIOSCIENCES"; readonly SAGE_BIONETWORKS: "SAGE_BIONETWORKS"; }; export type OAuthUrlRequestProviderEnum = typeof OAuthUrlRequestProviderEnum[keyof typeof OAuthUrlRequestProviderEnum]; /** * Check if a given object implements the OAuthUrlRequest interface. */ export declare function instanceOfOAuthUrlRequest(value: object): value is OAuthUrlRequest; export declare function OAuthUrlRequestFromJSON(json: any): OAuthUrlRequest; export declare function OAuthUrlRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthUrlRequest; export declare function OAuthUrlRequestToJSON(json: any): OAuthUrlRequest; export declare function OAuthUrlRequestToJSONTyped(value?: OAuthUrlRequest | null, ignoreDiscriminator?: boolean): any;