Skip to content

Commit

Permalink
Standardize git repo, upgrade libraries, generate source code files
Browse files Browse the repository at this point in the history
  • Loading branch information
teddius committed Nov 4, 2024
1 parent d782ea2 commit 9507ea0
Show file tree
Hide file tree
Showing 177 changed files with 74,086 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/google/api/auth_grpc_pb.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// GENERATED CODE -- NO SERVICES IN PROTO
143 changes: 143 additions & 0 deletions api/google/api/auth_pb.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
// package: google.api
// file: google/api/auth.proto

/* tslint:disable */
/* eslint-disable */

import * as jspb from "google-protobuf";

export class Authentication extends jspb.Message {
clearRulesList(): void;
getRulesList(): Array<AuthenticationRule>;
setRulesList(value: Array<AuthenticationRule>): Authentication;
addRules(value?: AuthenticationRule, index?: number): AuthenticationRule;
clearProvidersList(): void;
getProvidersList(): Array<AuthProvider>;
setProvidersList(value: Array<AuthProvider>): Authentication;
addProviders(value?: AuthProvider, index?: number): AuthProvider;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Authentication.AsObject;
static toObject(includeInstance: boolean, msg: Authentication): Authentication.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: Authentication, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Authentication;
static deserializeBinaryFromReader(message: Authentication, reader: jspb.BinaryReader): Authentication;
}

export namespace Authentication {
export type AsObject = {
rulesList: Array<AuthenticationRule.AsObject>,
providersList: Array<AuthProvider.AsObject>,
}
}

export class AuthenticationRule extends jspb.Message {
getSelector(): string;
setSelector(value: string): AuthenticationRule;

hasOauth(): boolean;
clearOauth(): void;
getOauth(): OAuthRequirements | undefined;
setOauth(value?: OAuthRequirements): AuthenticationRule;
getAllowWithoutCredential(): boolean;
setAllowWithoutCredential(value: boolean): AuthenticationRule;
clearRequirementsList(): void;
getRequirementsList(): Array<AuthRequirement>;
setRequirementsList(value: Array<AuthRequirement>): AuthenticationRule;
addRequirements(value?: AuthRequirement, index?: number): AuthRequirement;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): AuthenticationRule.AsObject;
static toObject(includeInstance: boolean, msg: AuthenticationRule): AuthenticationRule.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: AuthenticationRule, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): AuthenticationRule;
static deserializeBinaryFromReader(message: AuthenticationRule, reader: jspb.BinaryReader): AuthenticationRule;
}

export namespace AuthenticationRule {
export type AsObject = {
selector: string,
oauth?: OAuthRequirements.AsObject,
allowWithoutCredential: boolean,
requirementsList: Array<AuthRequirement.AsObject>,
}
}

export class AuthProvider extends jspb.Message {
getId(): string;
setId(value: string): AuthProvider;
getIssuer(): string;
setIssuer(value: string): AuthProvider;
getJwksUri(): string;
setJwksUri(value: string): AuthProvider;
getAudiences(): string;
setAudiences(value: string): AuthProvider;
getAuthorizationUrl(): string;
setAuthorizationUrl(value: string): AuthProvider;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): AuthProvider.AsObject;
static toObject(includeInstance: boolean, msg: AuthProvider): AuthProvider.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: AuthProvider, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): AuthProvider;
static deserializeBinaryFromReader(message: AuthProvider, reader: jspb.BinaryReader): AuthProvider;
}

export namespace AuthProvider {
export type AsObject = {
id: string,
issuer: string,
jwksUri: string,
audiences: string,
authorizationUrl: string,
}
}

export class OAuthRequirements extends jspb.Message {
getCanonicalScopes(): string;
setCanonicalScopes(value: string): OAuthRequirements;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): OAuthRequirements.AsObject;
static toObject(includeInstance: boolean, msg: OAuthRequirements): OAuthRequirements.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: OAuthRequirements, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): OAuthRequirements;
static deserializeBinaryFromReader(message: OAuthRequirements, reader: jspb.BinaryReader): OAuthRequirements;
}

export namespace OAuthRequirements {
export type AsObject = {
canonicalScopes: string,
}
}

export class AuthRequirement extends jspb.Message {
getProviderId(): string;
setProviderId(value: string): AuthRequirement;
getAudiences(): string;
setAudiences(value: string): AuthRequirement;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): AuthRequirement.AsObject;
static toObject(includeInstance: boolean, msg: AuthRequirement): AuthRequirement.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: AuthRequirement, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): AuthRequirement;
static deserializeBinaryFromReader(message: AuthRequirement, reader: jspb.BinaryReader): AuthRequirement;
}

export namespace AuthRequirement {
export type AsObject = {
providerId: string,
audiences: string,
}
}
Loading

0 comments on commit 9507ea0

Please sign in to comment.