/** * 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. */ import type { OIDCClaimsRequest } from './OIDCClaimsRequest'; /** * Content of an authorization request * @export * @interface OIDCAuthorizationRequest */ export interface OIDCAuthorizationRequest { /** * ID of the client requesting authorization * @type {string} * @memberof OIDCAuthorizationRequest */ clientId?: string; /** * space-separated list of scopes * @type {string} * @memberof OIDCAuthorizationRequest */ scope?: string; /** * * @type {OIDCClaimsRequest} * @memberof OIDCAuthorizationRequest */ claims?: OIDCClaimsRequest; /** * The OAuth 2.0 response types supported by Synapse * @type {string} * @memberof OIDCAuthorizationRequest */ responseType?: OIDCAuthorizationRequestResponseTypeEnum; /** * URI to which the user agent is to be redirected * @type {string} * @memberof OIDCAuthorizationRequest */ redirectUri?: string; /** * Optional value used to associate a Client session with an ID Token, and to mitigate replay attacks. The value is passed through unmodified from the Authorization Request to the ID Token. * @type {string} * @memberof OIDCAuthorizationRequest */ nonce?: string; /** * ID of the user approving this request (set by server) * @type {string} * @memberof OIDCAuthorizationRequest */ userId?: string; /** * Timestamp marking when approving user was authenticated (set by server) * @type {string} * @memberof OIDCAuthorizationRequest */ authenticatedAt?: string; /** * Timestamp marking when authorization was approved (set by server) * @type {string} * @memberof OIDCAuthorizationRequest */ authorizedAt?: string; } /** * @export */ export declare const OIDCAuthorizationRequestResponseTypeEnum: { readonly code: "code"; }; export type OIDCAuthorizationRequestResponseTypeEnum = typeof OIDCAuthorizationRequestResponseTypeEnum[keyof typeof OIDCAuthorizationRequestResponseTypeEnum]; /** * Check if a given object implements the OIDCAuthorizationRequest interface. */ export declare function instanceOfOIDCAuthorizationRequest(value: object): value is OIDCAuthorizationRequest; export declare function OIDCAuthorizationRequestFromJSON(json: any): OIDCAuthorizationRequest; export declare function OIDCAuthorizationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OIDCAuthorizationRequest; export declare function OIDCAuthorizationRequestToJSON(json: any): OIDCAuthorizationRequest; export declare function OIDCAuthorizationRequestToJSONTyped(value?: OIDCAuthorizationRequest | null, ignoreDiscriminator?: boolean): any;