// package: akkaserverless // file: akkaserverless/jwt.proto /* tslint:disable */ /* eslint-disable */ import * as jspb from "google-protobuf"; export class JwtFieldOptions extends jspb.Message { getClaim(): JwtFieldOptions.JwtClaimInclude; setClaim(value: JwtFieldOptions.JwtClaimInclude): JwtFieldOptions; getName(): string; setName(value: string): JwtFieldOptions; getToken(): boolean; setToken(value: boolean): JwtFieldOptions; getIncludeParentClaims(): boolean; setIncludeParentClaims(value: boolean): JwtFieldOptions; clearIncludeBearerTokenClaimList(): void; getIncludeBearerTokenClaimList(): Array; setIncludeBearerTokenClaimList(value: Array): JwtFieldOptions; addIncludeBearerTokenClaim(value: string, index?: number): string; clearIssuerList(): void; getIssuerList(): Array; setIssuerList(value: Array): JwtFieldOptions; addIssuer(value: string, index?: number): string; getExpiresSeconds(): number; setExpiresSeconds(value: number): JwtFieldOptions; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): JwtFieldOptions.AsObject; static toObject(includeInstance: boolean, msg: JwtFieldOptions): JwtFieldOptions.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: JwtFieldOptions, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): JwtFieldOptions; static deserializeBinaryFromReader(message: JwtFieldOptions, reader: jspb.BinaryReader): JwtFieldOptions; } export namespace JwtFieldOptions { export type AsObject = { claim: JwtFieldOptions.JwtClaimInclude, name: string, token: boolean, includeParentClaims: boolean, includeBearerTokenClaimList: Array, issuerList: Array, expiresSeconds: number, } export enum JwtClaimInclude { UNSPECIFIED = 0, INCLUDE = 1, EXTRACT = 2, DESCEND = 3, NEST = 4, RAW = 5, } } export class JwtMessageOptions extends jspb.Message { getValidateBearerToken(): boolean; setValidateBearerToken(value: boolean): JwtMessageOptions; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): JwtMessageOptions.AsObject; static toObject(includeInstance: boolean, msg: JwtMessageOptions): JwtMessageOptions.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: JwtMessageOptions, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): JwtMessageOptions; static deserializeBinaryFromReader(message: JwtMessageOptions, reader: jspb.BinaryReader): JwtMessageOptions; } export namespace JwtMessageOptions { export type AsObject = { validateBearerToken: boolean, } } export class JwtMethodOptions extends jspb.Message { clearValidateList(): void; getValidateList(): Array; setValidateList(value: Array): JwtMethodOptions; addValidate(value: JwtMethodOptions.JwtMethodMode, index?: number): JwtMethodOptions.JwtMethodMode; clearSignList(): void; getSignList(): Array; setSignList(value: Array): JwtMethodOptions; addSign(value: JwtMethodOptions.JwtMethodMode, index?: number): JwtMethodOptions.JwtMethodMode; clearBearerTokenIssuerList(): void; getBearerTokenIssuerList(): Array; setBearerTokenIssuerList(value: Array): JwtMethodOptions; addBearerTokenIssuer(value: string, index?: number): string; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): JwtMethodOptions.AsObject; static toObject(includeInstance: boolean, msg: JwtMethodOptions): JwtMethodOptions.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: JwtMethodOptions, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): JwtMethodOptions; static deserializeBinaryFromReader(message: JwtMethodOptions, reader: jspb.BinaryReader): JwtMethodOptions; } export namespace JwtMethodOptions { export type AsObject = { validateList: Array, signList: Array, bearerTokenIssuerList: Array, } export enum JwtMethodMode { UNSPECIFIED = 0, BEARER_TOKEN = 1, MESSAGE = 2, } }