// package: xrc.ecnova.authconnect.oauth2connect.v1 // file: api/ecnova/authconnect/oauth2connect/v1/oauth2connect_proto/oauth2connect.proto import * as jspb from "google-protobuf"; import * as api_ecnova_type_accesstoken_accesstoken_proto_accesstoken_pb from "../../../../../../api/ecnova/type/accesstoken/accesstoken_proto/accesstoken_pb"; export class AuthorizeRequest extends jspb.Message { getAuthConn(): string; setAuthConn(value: string): void; getRedirectUrl(): string; setRedirectUrl(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): AuthorizeRequest.AsObject; static toObject(includeInstance: boolean, msg: AuthorizeRequest): AuthorizeRequest.AsObject; static fromObject(obj: AuthorizeRequest.AsObject): AuthorizeRequest; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: AuthorizeRequest, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): AuthorizeRequest; static deserializeBinaryFromReader(message: AuthorizeRequest, reader: jspb.BinaryReader): AuthorizeRequest; } export namespace AuthorizeRequest { export type AsObject = { authConn: string, redirectUrl: string, } } export class AuthorizeResponse extends jspb.Message { getAuthorizationCodeUrl(): string; setAuthorizationCodeUrl(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): AuthorizeResponse.AsObject; static toObject(includeInstance: boolean, msg: AuthorizeResponse): AuthorizeResponse.AsObject; static fromObject(obj: AuthorizeResponse.AsObject): AuthorizeResponse; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: AuthorizeResponse, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): AuthorizeResponse; static deserializeBinaryFromReader(message: AuthorizeResponse, reader: jspb.BinaryReader): AuthorizeResponse; } export namespace AuthorizeResponse { export type AsObject = { authorizationCodeUrl: string, } } export class CodeAuthenticateRequest extends jspb.Message { getAuthConn(): string; setAuthConn(value: string): void; getCode(): string; setCode(value: string): void; getState(): string; setState(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CodeAuthenticateRequest.AsObject; static toObject(includeInstance: boolean, msg: CodeAuthenticateRequest): CodeAuthenticateRequest.AsObject; static fromObject(obj: CodeAuthenticateRequest.AsObject): CodeAuthenticateRequest; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: CodeAuthenticateRequest, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): CodeAuthenticateRequest; static deserializeBinaryFromReader(message: CodeAuthenticateRequest, reader: jspb.BinaryReader): CodeAuthenticateRequest; } export namespace CodeAuthenticateRequest { export type AsObject = { authConn: string, code: string, state: string, } } export class AuthenticateRequest extends jspb.Message { getAuthConn(): string; setAuthConn(value: string): void; hasAccessToken(): boolean; clearAccessToken(): void; getAccessToken(): api_ecnova_type_accesstoken_accesstoken_proto_accesstoken_pb.Token | undefined; setAccessToken(value?: api_ecnova_type_accesstoken_accesstoken_proto_accesstoken_pb.Token): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): AuthenticateRequest.AsObject; static toObject(includeInstance: boolean, msg: AuthenticateRequest): AuthenticateRequest.AsObject; static fromObject(obj: AuthenticateRequest.AsObject): AuthenticateRequest; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: AuthenticateRequest, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): AuthenticateRequest; static deserializeBinaryFromReader(message: AuthenticateRequest, reader: jspb.BinaryReader): AuthenticateRequest; } export namespace AuthenticateRequest { export type AsObject = { authConn: string, accessToken?: api_ecnova_type_accesstoken_accesstoken_proto_accesstoken_pb.Token.AsObject, } } export class OAuth2AuthContext extends jspb.Message { getName(): string; setName(value: string): void; getAuthConnName(): string; setAuthConnName(value: string): void; getRedirectUrl(): string; setRedirectUrl(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): OAuth2AuthContext.AsObject; static toObject(includeInstance: boolean, msg: OAuth2AuthContext): OAuth2AuthContext.AsObject; static fromObject(obj: OAuth2AuthContext.AsObject): OAuth2AuthContext; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: OAuth2AuthContext, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): OAuth2AuthContext; static deserializeBinaryFromReader(message: OAuth2AuthContext, reader: jspb.BinaryReader): OAuth2AuthContext; } export namespace OAuth2AuthContext { export type AsObject = { name: string, authConnName: string, redirectUrl: string, } }