// @generated by protoc-gen-es v1.10.0 // @generated from file proto/rpc/v1/auth.proto (package proto.rpc.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * @generated from message proto.rpc.v1.Credentials */ export declare class Credentials extends Message { /** * type is the type of credentials being used. * * @generated from field: string type = 1; */ type: string; /** * payload is an opaque string used that are of the given type above. * * @generated from field: string payload = 2; */ payload: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "proto.rpc.v1.Credentials"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Credentials; static fromJson(jsonValue: JsonValue, options?: Partial): Credentials; static fromJsonString(jsonString: string, options?: Partial): Credentials; static equals(a: Credentials | PlainMessage | undefined, b: Credentials | PlainMessage | undefined): boolean; } /** * An AuthenticateRequest contains the credentials used to authenticate. * * @generated from message proto.rpc.v1.AuthenticateRequest */ export declare class AuthenticateRequest extends Message { /** * @generated from field: string entity = 1; */ entity: string; /** * @generated from field: proto.rpc.v1.Credentials credentials = 2; */ credentials?: Credentials; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "proto.rpc.v1.AuthenticateRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AuthenticateRequest; static fromJson(jsonValue: JsonValue, options?: Partial): AuthenticateRequest; static fromJsonString(jsonString: string, options?: Partial): AuthenticateRequest; static equals(a: AuthenticateRequest | PlainMessage | undefined, b: AuthenticateRequest | PlainMessage | undefined): boolean; } /** * An AuthenticateResponse is returned after successful authentication. * * @generated from message proto.rpc.v1.AuthenticateResponse */ export declare class AuthenticateResponse extends Message { /** * access_token is a JWT where only the expiration should be deemed * important. * * Future(erd): maybe a refresh_token * * @generated from field: string access_token = 1; */ accessToken: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "proto.rpc.v1.AuthenticateResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AuthenticateResponse; static fromJson(jsonValue: JsonValue, options?: Partial): AuthenticateResponse; static fromJsonString(jsonString: string, options?: Partial): AuthenticateResponse; static equals(a: AuthenticateResponse | PlainMessage | undefined, b: AuthenticateResponse | PlainMessage | undefined): boolean; } /** * An AuthenticateToRequest contains the entity to authenticate to. * * @generated from message proto.rpc.v1.AuthenticateToRequest */ export declare class AuthenticateToRequest extends Message { /** * @generated from field: string entity = 1; */ entity: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "proto.rpc.v1.AuthenticateToRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AuthenticateToRequest; static fromJson(jsonValue: JsonValue, options?: Partial): AuthenticateToRequest; static fromJsonString(jsonString: string, options?: Partial): AuthenticateToRequest; static equals(a: AuthenticateToRequest | PlainMessage | undefined, b: AuthenticateToRequest | PlainMessage | undefined): boolean; } /** * An AuthenticateResponse is returned after successful authentication. * * @generated from message proto.rpc.v1.AuthenticateToResponse */ export declare class AuthenticateToResponse extends Message { /** * access_token is a JWT where only the expiration should be deemed * important. * * Future(erd): maybe a refresh_token * * @generated from field: string access_token = 1; */ accessToken: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "proto.rpc.v1.AuthenticateToResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AuthenticateToResponse; static fromJson(jsonValue: JsonValue, options?: Partial): AuthenticateToResponse; static fromJsonString(jsonString: string, options?: Partial): AuthenticateToResponse; static equals(a: AuthenticateToResponse | PlainMessage | undefined, b: AuthenticateToResponse | PlainMessage | undefined): boolean; }