/**
 * 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 user validation.
 * @export
 * @interface OAuthValidationRequest
 */
export interface OAuthValidationRequest {
    /**
     * Supported OAuth providers
     * @type {string}
     * @memberof OAuthValidationRequest
     */
    provider?: OAuthValidationRequestProviderEnum;
    /**
     * The authorization code passed with the redirectUrl after successful user authentication from a 3rd party OAuth provider.  This code is used by Synapse to lookup the user's information from the OAuthProvider.
     * @type {string}
     * @memberof OAuthValidationRequest
     */
    authenticationCode?: string;
    /**
     * This must be the same redirect URL used to in the first step.  This parameter is required by Google but not by all oauth providers.
     * @type {string}
     * @memberof OAuthValidationRequest
     */
    redirectUrl?: string;
}
/**
 * @export
 */
export declare const OAuthValidationRequestProviderEnum: {
    readonly GOOGLE_OAUTH_2_0: "GOOGLE_OAUTH_2_0";
    readonly ORCID: "ORCID";
    readonly ARCUS_BIOSCIENCES: "ARCUS_BIOSCIENCES";
    readonly SAGE_BIONETWORKS: "SAGE_BIONETWORKS";
    readonly NIH_RESEARCHER_AUTH_SERVICE: "NIH_RESEARCHER_AUTH_SERVICE";
};
export type OAuthValidationRequestProviderEnum = typeof OAuthValidationRequestProviderEnum[keyof typeof OAuthValidationRequestProviderEnum];
/**
 * Check if a given object implements the OAuthValidationRequest interface.
 */
export declare function instanceOfOAuthValidationRequest(value: object): value is OAuthValidationRequest;
export declare function OAuthValidationRequestFromJSON(json: any): OAuthValidationRequest;
export declare function OAuthValidationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthValidationRequest;
export declare function OAuthValidationRequestToJSON(json: any): OAuthValidationRequest;
export declare function OAuthValidationRequestToJSONTyped(value?: OAuthValidationRequest | null, ignoreDiscriminator?: boolean): any;
