88 lines
4.1 KiB
TypeScript
88 lines
4.1 KiB
TypeScript
|
// package: auth
|
||
|
// file: auth.proto
|
||
|
|
||
|
/* tslint:disable */
|
||
|
/* eslint-disable */
|
||
|
|
||
|
import * as jspb from "google-protobuf";
|
||
|
|
||
|
export class AuthorizationHeader extends jspb.Message {
|
||
|
getBearerToken(): string;
|
||
|
setBearerToken(value: string): AuthorizationHeader;
|
||
|
|
||
|
serializeBinary(): Uint8Array;
|
||
|
toObject(includeInstance?: boolean): AuthorizationHeader.AsObject;
|
||
|
static toObject(includeInstance: boolean, msg: AuthorizationHeader): AuthorizationHeader.AsObject;
|
||
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||
|
static serializeBinaryToWriter(message: AuthorizationHeader, writer: jspb.BinaryWriter): void;
|
||
|
static deserializeBinary(bytes: Uint8Array): AuthorizationHeader;
|
||
|
static deserializeBinaryFromReader(message: AuthorizationHeader, reader: jspb.BinaryReader): AuthorizationHeader;
|
||
|
}
|
||
|
|
||
|
export namespace AuthorizationHeader {
|
||
|
export type AsObject = {
|
||
|
bearerToken: string,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export class SessionValidationResponse extends jspb.Message {
|
||
|
getCrossServiceToken(): string;
|
||
|
setCrossServiceToken(value: string): SessionValidationResponse;
|
||
|
|
||
|
serializeBinary(): Uint8Array;
|
||
|
toObject(includeInstance?: boolean): SessionValidationResponse.AsObject;
|
||
|
static toObject(includeInstance: boolean, msg: SessionValidationResponse): SessionValidationResponse.AsObject;
|
||
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||
|
static serializeBinaryToWriter(message: SessionValidationResponse, writer: jspb.BinaryWriter): void;
|
||
|
static deserializeBinary(bytes: Uint8Array): SessionValidationResponse;
|
||
|
static deserializeBinaryFromReader(message: SessionValidationResponse, reader: jspb.BinaryReader): SessionValidationResponse;
|
||
|
}
|
||
|
|
||
|
export namespace SessionValidationResponse {
|
||
|
export type AsObject = {
|
||
|
crossServiceToken: string,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export class WebsocketConnectionAuthorizationHeader extends jspb.Message {
|
||
|
getToken(): string;
|
||
|
setToken(value: string): WebsocketConnectionAuthorizationHeader;
|
||
|
|
||
|
serializeBinary(): Uint8Array;
|
||
|
toObject(includeInstance?: boolean): WebsocketConnectionAuthorizationHeader.AsObject;
|
||
|
static toObject(includeInstance: boolean, msg: WebsocketConnectionAuthorizationHeader): WebsocketConnectionAuthorizationHeader.AsObject;
|
||
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||
|
static serializeBinaryToWriter(message: WebsocketConnectionAuthorizationHeader, writer: jspb.BinaryWriter): void;
|
||
|
static deserializeBinary(bytes: Uint8Array): WebsocketConnectionAuthorizationHeader;
|
||
|
static deserializeBinaryFromReader(message: WebsocketConnectionAuthorizationHeader, reader: jspb.BinaryReader): WebsocketConnectionAuthorizationHeader;
|
||
|
}
|
||
|
|
||
|
export namespace WebsocketConnectionAuthorizationHeader {
|
||
|
export type AsObject = {
|
||
|
token: string,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export class ConnectionValidationResponse extends jspb.Message {
|
||
|
getCrossServiceToken(): string;
|
||
|
setCrossServiceToken(value: string): ConnectionValidationResponse;
|
||
|
|
||
|
serializeBinary(): Uint8Array;
|
||
|
toObject(includeInstance?: boolean): ConnectionValidationResponse.AsObject;
|
||
|
static toObject(includeInstance: boolean, msg: ConnectionValidationResponse): ConnectionValidationResponse.AsObject;
|
||
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||
|
static serializeBinaryToWriter(message: ConnectionValidationResponse, writer: jspb.BinaryWriter): void;
|
||
|
static deserializeBinary(bytes: Uint8Array): ConnectionValidationResponse;
|
||
|
static deserializeBinaryFromReader(message: ConnectionValidationResponse, reader: jspb.BinaryReader): ConnectionValidationResponse;
|
||
|
}
|
||
|
|
||
|
export namespace ConnectionValidationResponse {
|
||
|
export type AsObject = {
|
||
|
crossServiceToken: string,
|
||
|
}
|
||
|
}
|