repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
turkaytunc/redux-like | src/components/post-list/PostList.tsx | import React, { FC } from 'react';
import { Store } from '../../state-store/Store';
const PostList: FC = () => {
const { state, dispatch } = React.useContext(Store);
const [input, setInput] = React.useState('');
const addPost = () => {
const parsed = JSON.parse(input);
if (parsed.hasOwnProperty('id')) {... |
turkaytunc/redux-like | src/state-store/Store.tsx | import React from 'react';
import { PostActions } from './actions/PostActions';
import { UserActions } from './actions/UserActions';
import { IPost } from './interfaces/IPost';
import { IUser } from './interfaces/IUser';
import { postReducer } from './reducers/postReducer';
import { userReducer } from './reducers/userR... |
turkaytunc/redux-like | src/state-store/actions/UserActions.ts | import { IUser } from '../interfaces/IUser';
export type UserActions =
| {
type: 'ADD_USER';
payload: IUser;
}
| {
type: 'REMOVE_USER';
payload: number;
};
|
DjDeveloperr/Keydb | mod.ts | export * from "./keydb.ts";
export * from "./adapter.ts";
export * from "./memory.ts";
|
DjDeveloperr/Keydb | jsonb.ts | <reponame>DjDeveloperr/Keydb
import { Buffer } from "https://deno.land/std@0.88.0/node/buffer.ts";
// deno-lint-ignore no-namespace
export namespace JSONB {
// deno-lint-ignore no-explicit-any
export const stringify = function stringify(o: any) {
if ("undefined" == typeof o) return o;
if (o && Buf... |
DjDeveloperr/Keydb | adapter.ts | import { ModuleCache } from "https://deno.land/x/module_cache@0.0.3/mod.ts";
export interface KeydbFields {
key: string;
value: string;
ns: string;
ttl: number;
}
/** Interface to be implemented by Adapter Implementations */
export interface Adapter {
/** Promise used to await the adapter to be r... |
DjDeveloperr/Keydb | memory.ts | <reponame>DjDeveloperr/Keydb
import { Adapter } from "./adapter.ts";
export class MemoryAdapter implements Adapter {
namespaces: Map<
string,
Map<string, { value: string; ttl: number }>
> = new Map();
checkNamespace(ns: string) {
if (this.namespaces.has(ns)) return;
else this.namespace... |
DjDeveloperr/Keydb | sqlite.ts | import { DB } from "https://deno.land/x/sqlite@v2.3.2/mod.ts";
import { Adapter, Adapters, KeydbFields } from "./adapter.ts";
import { Keydb } from "./keydb.ts";
export class SqliteAdapter implements Adapter {
db: DB;
table: string;
constructor(path?: string, table: string = "keydb") {
this.db = ne... |
DjDeveloperr/Keydb | keydb.ts | <filename>keydb.ts
import { Adapter, Adapters } from "./adapter.ts";
import { JSONB } from "./jsonb.ts";
import { MemoryAdapter } from "./memory.ts";
export interface KeydbOptions {
namespace?: string;
ttl?: number;
// deno-lint-ignore no-explicit-any
serialize?: (value: any) => string | undefined;
... |
DjDeveloperr/Keydb | test.ts | import { Keydb } from "./sqlite.ts";
import { assertEquals } from "https://deno.land/std@0.86.0/testing/asserts.ts";
const sleep = (ms: number) => new Promise((res) => setTimeout(res, ms));
let db: Keydb;
Deno.test({
name: "Connect to DB",
sanitizeResources: false,
async fn() {
db = new Keydb("sql... |
DjDeveloperr/Keydb | postgres.ts | <filename>postgres.ts<gh_stars>1-10
import { Client } from "https://deno.land/x/postgres@v0.7.1/mod.ts";
import { ConnectionOptions } from "https://deno.land/x/postgres@v0.7.1/connection_params.ts";
import { Adapter, Adapters, KeydbFields } from "./adapter.ts";
import { Keydb } from "./keydb.ts";
export class Pos... |
DjDeveloperr/Keydb | redis.ts | // Redis Adapter is untested and incomplete!
import {
connect,
Redis,
RedisConnectOptions,
} from "https://deno.land/x/redis@v0.18.0/mod.ts";
import { Adapter, Adapters, KeydbFields } from "./adapter.ts";
import { Keydb } from "./keydb.ts";
export class RedisAdapter implements Adapter {
db: Redis;
... |
IzarchTech/CPQLib | tests/Drain/drain.test.ts | import CPQLib, { Drain } from "../../src";
type drainData = {
depth: number;
width: number;
span: number;
thickness: number;
blindingThickness?: number;
workingAllowance?: number;
};
type drainExpectedData = {
volumeOfConcrete: number;
areaOfFormwork: number;
volumeOfExcavtion: number;
volumeOfCart... |
IzarchTech/CPQLib | src/index.ts | import Drain, { IDrain } from "./Drain";
const CPQLib = { Drain };
export { Drain, IDrain };
export default CPQLib;
|
IzarchTech/CPQLib | src/Drain/Drain.ts | import { IDrain } from "./IDrain";
export class Drain implements IDrain {
readonly BlindingThickness: number;
readonly Depth: number;
readonly Span: number;
readonly Thickness: number;
readonly Width: number;
readonly WorkingAllowance: number;
constructor(
depth: number,
width: number,
span:... |
IzarchTech/CPQLib | src/Drain/IDrain.ts | <gh_stars>0
export interface IDrain {
readonly Width: number;
readonly Span: number;
readonly Depth: number;
readonly Thickness: number;
readonly BlindingThickness: number;
readonly WorkingAllowance: number;
getDrainDepth(): number;
getDrainWidth(): number;
getExcavationDepth(): number;
get... |
IzarchTech/CPQLib | src/Drain/index.ts | <gh_stars>0
import { Drain } from "./Drain";
import { IDrain } from "./IDrain";
export { IDrain };
export default Drain;
|
gfortil/HPCC-Platform | esp/src/src/react/index.ts | export * from "./render";
export * from "./wuStatus";
export * from "./recentFilters";
export * from "./aboutDialog";
|
gfortil/HPCC-Platform | esp/src/src-react/components/Title.tsx | <filename>esp/src/src-react/components/Title.tsx
import * as React from "react";
import { Breadcrumb, DefaultPalette, FontSizes, IBreadcrumbItem, IBreadcrumbStyleProps, IBreadcrumbStyles, Image, IStyleFunctionOrObject, Link, SearchBox, Stack, Toggle } from "@fluentui/react";
import nlsHPCC from "src/nlsHPCC";
const b... |
gfortil/HPCC-Platform | esp/src/src/nls/pt-br/hpcc.ts | <reponame>gfortil/HPCC-Platform<filename>esp/src/src/nls/pt-br/hpcc.ts
export = {
Abort: "Abortar",
AbortedBy: "Abortado pelo",
AbortedTime: "Hora de Abortar",
About: "Sobre Plataforma HPCC",
AboutGraphControl: "Sobre Controle de Gráphico",
AboutHPCCSystems: "Sobre HPCC Systems",
AboutHPCCS... |
gfortil/HPCC-Platform | esp/src/src/ESPBase.ts | <gh_stars>1-10
import * as config from "dojo/_base/config";
import * as declare from "dojo/_base/declare";
declare const dojo;
export class ESPBase {
constructor(args?) {
if (args) {
declare.safeMixin(this, args);
}
}
getParam(key) {
const value = dojo.queryToObject(... |
gfortil/HPCC-Platform | esp/src/src-react/components/Common.tsx | <gh_stars>1-10
import * as React from "react";
import { VerticalDivider } from "@fluentui/react";
export const ShortVerticalDivider = () => <VerticalDivider styles={{ divider: { paddingTop: "20%", height: "60%" } }} />;
|
gfortil/HPCC-Platform | esp/src/src-react/components/Frame.tsx | <filename>esp/src/src-react/components/Frame.tsx
import * as React from "react";
import { ThemeProvider } from "@fluentui/react";
import { HolyGrail } from "../layouts/HolyGrail";
import { hashHistory } from "../util/history";
import { router } from "../routes";
import { darkTheme, lightTheme } from "../themes";
import... |
gfortil/HPCC-Platform | esp/src/src/react/hooks/useWsStore.ts | <filename>esp/src/src/react/hooks/useWsStore.ts
import { useEffect, useState } from "react";
import {getRecentFilters} from "../../KeyValStore";
export const useGet = (key: string, filter?: object) => {
const [responseState, setResponseState] = useState({ data: null, loading: true });
useEffect(() => {
... |
gfortil/HPCC-Platform | esp/src/src-react/hooks/Workunit.ts | <reponame>gfortil/HPCC-Platform<gh_stars>0
import * as React from "react";
import { Workunit, Result, WUStateID, WUInfo } from "@hpcc-js/comms";
import nlsHPCC from "src/nlsHPCC";
export function useWorkunit(wuid: string, full: boolean = false): [Workunit, WUStateID] {
const [workunit, setWorkunit] = React.useSta... |
gfortil/HPCC-Platform | esp/src/src-react/components/Variables.tsx | import * as React from "react";
import { CommandBar, ContextualMenuItemType, ICommandBarItemProps } from "@fluentui/react";
import { useConst } from "@fluentui/react-hooks";
import * as Observable from "dojo/store/Observable";
import { AlphaNumSortMemory } from "src/Memory";
import * as Utility from "src/Utility";
impo... |
gfortil/HPCC-Platform | esp/src/src-react/components/Filter.tsx | <gh_stars>1-10
import * as React from "react";
import { getTheme, mergeStyleSets, FontWeights, IDragOptions, IIconProps, ContextualMenu, DefaultButton, PrimaryButton, IconButton, Checkbox, Dropdown, IStackStyles, Modal, Stack, TextField, IDropdownProps, IDropdownOption } from "@fluentui/react";
import { useId } from "@... |
gfortil/HPCC-Platform | esp/src/src-react/components/WorkunitsDashboard.tsx | import * as React from "react";
import { Dropdown, IStackItemStyles, IStackStyles, IStackTokens, Overlay, Spinner, SpinnerSize, Stack, Text } from "@fluentui/react";
import { Card } from "@fluentui/react-cards";
import * as Observable from "dojo/store/Observable";
import * as ESPWorkunit from "src/ESPWorkunit";
import ... |
gfortil/HPCC-Platform | esp/src/src/react/aboutDialog.tsx | import * as React from "react";
import { MuiThemeProvider } from "@material-ui/core/styles";
import Button from "@material-ui/core/Button";
import Dialog from "@material-ui/core/Dialog";
import DialogActions from "@material-ui/core/DialogActions";
import DialogContent from "@material-ui/core/DialogContent";
import Dial... |
gfortil/HPCC-Platform | esp/src/src-react/hooks/Grid.ts | <reponame>gfortil/HPCC-Platform<gh_stars>1-10
export function useGrid(store, filter, sort, columns) {
return {
store,
filter,
sort,
columns
};
}
|
gfortil/HPCC-Platform | esp/src/src-react/layouts/HpccJSAdapter.tsx | <gh_stars>1-10
import * as React from "react";
import { useId } from "@fluentui/react-hooks";
import { SizeMe } from "react-sizeme";
import { Widget } from "@hpcc-js/common";
import "srcReact/layouts/HpccJSAdapter.css";
export interface HpccJSComponentProps {
widget: Widget;
width: number;
height: number;... |
freight-chain/besu-dev-kit | eth-sdk-master/packages/eth-sdk-key/src/Key.ts | <reponame>freight-chain/besu-dev-kit
import HDNode from 'hdkey';
import {
mnemonicToSeedSync,
} from 'bip39';
import {
IQuery,
WithQuery,
queryProviders,
queryModules,
} from '@eth-sdk/query';
import {
toHex,
randomPrivateKey,
verifyPrivateKey,
publicKeyToAddress,
privateToPublicKey,
signPersonalM... |
netfarma/openapi-generator | samples/client/petstore-security-test/typescript-node/api/apis.ts | <filename>samples/client/petstore-security-test/typescript-node/api/apis.ts
export * from './fakeApi';
import { FakeApi } from './fakeApi';
export const APIS = [FakeApi];
|
netfarma/openapi-generator | samples/client/petstore/typescript-jquery/default/api/UserApi.ts | <gh_stars>1-10
/**
* OpenAPI Petstore
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://op... |
netfarma/openapi-generator | samples/client/petstore/typescript-axios/tests/default/test/PetApiFactory.ts | <reponame>netfarma/openapi-generator
import { expect } from "chai";
import {
PetApiFactory,
Pet,
Category
} from "@swagger/typescript-axios-petstore";
import { Configuration } from "@swagger/typescript-axios-petstore";
import axios, {AxiosInstance, AxiosResponse} from "axios";
let config: Configuration;
before(... |
netfarma/openapi-generator | samples/client/petstore/typescript-node/npm/api/apis.ts | <gh_stars>1-10
export * from './petApi';
import { PetApi } from './petApi';
export * from './storeApi';
import { StoreApi } from './storeApi';
export * from './userApi';
import { UserApi } from './userApi';
export const APIS = [PetApi, StoreApi, UserApi];
|
netfarma/openapi-generator | samples/client/petstore-security-test/typescript-fetch/index.ts | // tslint:disable
/**
* OpenAPI Petstore *_/ ' \" =end -- \\r\\n \\n \\r
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ *_/ ' \" =end --
*
* OpenAPI spec version: 1.0.0 *_/ ' \" =end -- \\r\\n \\n... |
netfarma/openapi-generator | samples/client/petstore/typescript-aurelia/default/AuthStorage.ts | <filename>samples/client/petstore/typescript-aurelia/default/AuthStorage.ts
/**
* OpenAPI Petstore
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by Open... |
izetmolla/react-theme-ui | src/index.tsx | <filename>src/index.tsx
import { NativeModules } from 'react-native';
type ReactThemeUiType = {
multiply(a: number, b: number): Promise<number>;
};
const { ReactThemeUi } = NativeModules;
export default ReactThemeUi as ReactThemeUiType;
|
hypercodex/vizkite | src/vizkite.tsx | import React, { useRef, useLayoutEffect } from 'react'
export type TargetRef = React.MutableRefObject<HTMLDivElement>
export interface D3CallbackSignature<D, O> {
(
ref: TargetRef,
data: D,
options?: O
): void;
}
export interface D3Callback {
<D, O>(
ref: TargetRef,
data: D,
options?... |
hypercodex/vizkite | src/__tests__/vizkite.spec.tsx | import * as React from 'react';
import { renderHook } from '@testing-library/react-hooks';
import { render } from '@testing-library/react';
import { mount } from 'enzyme';
import { useD3, D3Container, D3Target } from '../index';
describe('Test units of custom hook', () => {
// This rudimentary callback mutates th... |
hypercodex/vizkite | src/index.ts | export * from './vizkite'
|
yannzido/new | src/proxy-ui-api/frontend/src/store/modules/client.ts | <reponame>yannzido/new
import axios from 'axios';
import _ from 'lodash';
import { ActionTree, GetterTree, Module, MutationTree } from 'vuex';
import { RootState } from '../types';
export interface Client {
id: string;
name: string;
type?: string;
status?: string;
subsystem?: Client[];
connection_type?: st... |
yannzido/new | src/proxy-ui-api/frontend/src/shims-vue-types.d.ts | <gh_stars>1-10
import Vue from 'vue';
declare module 'vue/types/vue' {
interface Vue {
$bus: Vue;
}
}
|
yannzido/new | src/proxy-ui-api/frontend/src/filters.ts | import Vue from 'vue';
import i18n from './i18n';
Vue.filter('capitalize', (value: string): string => {
if (!value) { return ''; }
value = value.toString();
return value.charAt(0).toUpperCase() + value.slice(1);
});
// Add colon for every two characters. xxxxxx -> xx:xx:xx
Vue.filter('colonize', (value: strin... |
yannzido/new | src/proxy-ui-api/frontend/src/store/modules/mockData.ts | <gh_stars>1-10
import axios from 'axios';
import _ from 'lodash';
import { ActionTree, GetterTree, Module, MutationTree } from 'vuex';
import { RootState } from '../types';
// import mockJson from './mock';
// import mockJson from './fi-all';
// import mockJson from './ee-all';
export interface Client {
id: string... |
yannzido/new | src/proxy-ui-api/frontend/src/store/index.ts |
import Vue from 'vue';
import Vuex, { StoreOptions } from 'vuex';
import VuexPersistence from 'vuex-persist';
import { RootState } from './types';
import { generalModule } from './modules/general';
import { mockDataModule } from './modules/mockData';
import { clientsModule } from './modules/clients';
import { clientMo... |
yannzido/new | src/proxy-ui-api/frontend/src/store/modules/services.ts | <reponame>yannzido/new<gh_stars>1-10
import { ActionTree, GetterTree, Module, MutationTree } from 'vuex';
import { RootState } from '../types';
export interface ServicesState {
expandedServiceDescriptions: string[];
}
export const servicesState: ServicesState = {
expandedServiceDescriptions: [],
};
export const... |
yannzido/new | src/proxy-ui-api/frontend/src/util/api.ts | <filename>src/proxy-ui-api/frontend/src/util/api.ts
import axios from 'axios';
/*
* Wraps axios and post method calls with data
*/
export function post(uri: string, data: any) {
return axios.post(uri, data);
}
/*
* Wraps axios patch method calls with data
*/
export function patch(uri: string, data: any) {
ret... |
yannzido/new | src/proxy-ui-api/frontend/tests/unit/helpers.spec.ts |
import * as Helpers from '@/util/helpers';
describe('helper functions', () => {
// REST URL can be http or https
it('REST URL validation', () => {
expect(Helpers.isValidRestURL('')).toEqual(false);
expect(Helpers.isValidRestURL('xx://foo.bar')).toEqual(false);
expect(Helpers.isValidWsdlURL('https://... |
yannzido/new | src/proxy-ui-api/frontend/src/store/modules/keys.ts | <reponame>yannzido/new
import { ActionTree, GetterTree, Module, MutationTree } from 'vuex';
import { RootState } from '../types';
export interface KeysState {
expandedTokens: string[];
}
export const tokensState: KeysState = {
expandedTokens: [],
};
export const getters: GetterTree<KeysState, RootState> = {
t... |
yannzido/new | src/proxy-ui-api/frontend/src/types.ts | <reponame>yannzido/new<gh_stars>0
export interface Service {
id: string;
service_code: string;
code: string;
timeout: number;
ssl_auth: boolean;
security_category: string;
url: string;
}
export interface ServiceDescription {
id: number;
url: string;
type: string;
disabled: boolean;
disabled_no... |
yannzido/new | src/proxy-ui-api/frontend/src/store/modules/general.ts | import { ActionTree, GetterTree, Module, MutationTree } from 'vuex';
import * as api from '@/util/api';
import { RootState } from '../types';
export interface State {
xroadInstances: string[];
memberClasses: string[];
}
export const generalState: State = {
xroadInstances: [],
memberClasses: [],
};
export co... |
yannzido/new | src/proxy-ui-api/frontend/src/util/helpers.ts | <reponame>yannzido/new
// Filters an array of objects excluding specified object key
export function selectedFilter(arr: any[], search: string, excluded?: string): any[] {
// Clean the search string
const mysearch = search.toString().toLowerCase();
if (mysearch.trim() === '') {
return arr;
}
const filt... |
benaubin/blastoff-panel | index.ts | import logUpdate from "log-update";
export interface TaskStatus {
name: string;
status: "complete" | "starting" | "pending";
}
export interface StatusProps {
serviceName: string;
readyMessage?: string;
}
export interface StatusMessages {
withStatus<T>(name: string, f: (() => Promise<T>)): () => Promise<T>;... |
caikaijie/generator-ts-repo | generators/app/index.d.ts | <reponame>caikaijie/generator-ts-repo
import Generator, { Answers } from 'yeoman-generator';
export default class extends Generator {
answers: Answers;
constructor(args: string | string[], options: {});
prompting(): Promise<void>;
writing(): void;
install(): void;
}
|
caikaijie/generator-ts-repo | src/app/package.ts | import askName from 'inquirer-npm-name'
import { Answers } from 'yeoman-generator'
import path from 'path'
export function _getModuleNameParts(name: string): string {
if (name.startsWith('@')) {
const nameParts = name.slice(1).split('/')
return nameParts[1]
} else {
return name
}
}
... |
caikaijie/generator-ts-repo | generators/app/package.d.ts | <filename>generators/app/package.d.ts
import { Answers } from 'yeoman-generator';
export declare function _getModuleNameParts(name: string): string;
export declare function askForPackageName(i: any): Promise<Answers>;
|
caikaijie/generator-ts-repo | templates/src/example.spec.ts | <filename>templates/src/example.spec.ts
import { sum, slowHello } from './example'
test('adds 1 + 2 to equal 3', () => {
expect(sum(1, 2)).toBe(3)
})
test('another test case', async (): Promise<void> => {
try {
await slowHello('example')
} catch(e) {
expect(e).toMatchObject(new Error('slow... |
caikaijie/generator-ts-repo | src/app/index.ts | <reponame>caikaijie/generator-ts-repo
import Generator, { Answers } from 'yeoman-generator'
import chalk from 'chalk'
import yosay from 'yosay'
import path from 'path'
import sortPackageJSON from 'sort-package-json'
import { askForPackageName } from './package'
import fse from 'fs-extra'
export default class extends G... |
caikaijie/generator-ts-repo | templates/src/example.ts | <gh_stars>1-10
function sleep(ms: number): Promise<void> {
return new Promise(resolve => setTimeout(resolve, ms))
}
export function sum(a: number, b: number): number {
return a + b
}
export async function slowHello(message: string): Promise<void> {
await sleep(1000)
console.log(`hello, ${message}`)
... |
caikaijie/generator-ts-repo | __tests__/app.ts | <gh_stars>1-10
'use strict'
import path from 'path'
import helpers from 'yeoman-test'
import dirTree, { DirectoryTree } from 'directory-tree'
import treeify from 'treeify'
import fs from 'fs'
function treeify_(t: DirectoryTree): string {
const convert = (
p: treeify.TreeObject,
node: DirectoryTree
... |
kant/electron-wix-msi | __tests__/mocks/mock-fs.ts | import * as fs from 'fs-extra';
import * as path from 'path';
export const drive = process.platform === 'win32' ? 'C:' : '/';
export const root = path.join(drive, 'Users', 'tester', 'Code', 'app');
export const numberOfFiles = 15;
const staticDir = path.join(__dirname, '../../static');
const staticContent: Record<str... |
kant/electron-wix-msi | __tests__/test-utils.ts | const oldPlatform = process.platform;
export function resetPlatform() {
overridePlatform(oldPlatform);
}
export function overridePlatform(platform: string) {
Object.defineProperty(process, 'platform', {
value: platform
});
}
|
kant/electron-wix-msi | __tests__/utils/separator-spec.ts | import { overridePlatform, resetPlatform } from '../test-utils';
afterEach(() => {
jest.resetModules();
});
afterAll(() => {
resetPlatform();
});
test('separator returns the correct separator for win32', () => {
let separator;
overridePlatform('win32');
separator = require('../../src/utils/separator').sep... |
kant/electron-wix-msi | __tests__/mocks/mock-spawn.ts | <filename>__tests__/mocks/mock-spawn.ts
import { EventEmitter } from 'events';
import * as path from 'path';
export class MockSpawn extends EventEmitter {
public stdout = new EventEmitter();
public stderr = new EventEmitter();
constructor(name: string, private readonly args: Array<string> = [], options: any = {... |
financialforcedev/orizuru-auth | src/index/client/oauth2.ts | /*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this ... |
financialforcedev/orizuru-auth | src/index/client/openid/jwk.ts | /*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this ... |
financialforcedev/orizuru-auth | src/index/flow/webServer.ts | <gh_stars>1-10
/*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice... |
financialforcedev/orizuru-auth | src/index/client/oauth2Jwt.ts | /*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this ... |
financialforcedev/orizuru-auth | systemtests/server/salesforce.ts | <filename>systemtests/server/salesforce.ts
/*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retai... |
financialforcedev/orizuru-auth | src/index/client/salesforce/identity.ts | /*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this ... |
financialforcedev/orizuru-auth | src/index/middleware/grantChecker.ts | /*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this ... |
financialforcedev/orizuru-auth | src/index.ts | /*
* Copyright (c) 2017-2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* ... |
financialforcedev/orizuru-auth | test/index/middleware/grantChecker.test.ts | <filename>test/index/middleware/grantChecker.test.ts
/*
* Copyright (c) 2017-2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source ... |
financialforcedev/orizuru-auth | src/index/client/salesforce.ts | <reponame>financialforcedev/orizuru-auth
/*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain ... |
financialforcedev/orizuru-auth | test/index/middleware/authCallback.test.ts | /*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this ... |
financialforcedev/orizuru-auth | test/index/client/validator/environment.test.ts | <reponame>financialforcedev/orizuru-auth<filename>test/index/client/validator/environment.test.ts
/*
* Copyright (c) 2017-2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following condition... |
financialforcedev/orizuru-auth | src/index/client/cache.ts | /*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this ... |
financialforcedev/orizuru-auth | src/index/grant/grant.ts | /*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this ... |
financialforcedev/orizuru-auth | src/index/introspection/introspect.ts | <filename>src/index/introspection/introspect.ts
/*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must ... |
financialforcedev/orizuru-auth | test/index/middleware/tokenIntrospection.test.ts | <reponame>financialforcedev/orizuru-auth<gh_stars>1-10
/*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source cod... |
financialforcedev/orizuru-auth | test/index/grant/grant.test.ts | /*
* Copyright (c) 2017-2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* ... |
financialforcedev/orizuru-auth | src/index/middleware/identity.ts | <filename>src/index/middleware/identity.ts
/*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retai... |
financialforcedev/orizuru-auth | systemtests/suite2.test.ts | <reponame>financialforcedev/orizuru-auth
/*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain ... |
financialforcedev/orizuru-auth | test/index/client/salesforce/identity.test.ts | /*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this ... |
financialforcedev/orizuru-auth | src/index/flow/refreshToken.ts | <reponame>financialforcedev/orizuru-auth
/*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain ... |
financialforcedev/orizuru-auth | src/index/middleware/tokenValidator.ts | <reponame>financialforcedev/orizuru-auth<filename>src/index/middleware/tokenValidator.ts
/*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
... |
financialforcedev/orizuru-auth | test/index/client/cache.test.ts | <reponame>financialforcedev/orizuru-auth<gh_stars>1-10
/*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source cod... |
financialforcedev/orizuru-auth | src/index/middleware/common/fail.ts | /*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this ... |
financialforcedev/orizuru-auth | test/index/client/openid/jwk.test.ts | /*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this ... |
financialforcedev/orizuru-auth | test/index.test.ts | /*
* Copyright (c) 2017-2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* ... |
financialforcedev/orizuru-auth | test/index/flow/refreshToken.test.ts | /*
* Copyright (c) 2018-2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* ... |
financialforcedev/orizuru-auth | test/index/middleware/identity.test.ts | /*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this ... |
financialforcedev/orizuru-auth | src/index/client/oauth2Jwt/jwt.ts | <reponame>financialforcedev/orizuru-auth
/*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain ... |
financialforcedev/orizuru-auth | test/index/middleware/common/accessToken.test.ts | <gh_stars>1-10
/*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice... |
financialforcedev/orizuru-auth | examples/src/index.ts | <gh_stars>1-10
/*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice... |
financialforcedev/orizuru-auth | test/index/client/oauth2Jwt/jwt.test.ts | /*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this ... |
financialforcedev/orizuru-auth | test/index/middleware/tokenValidator.test.ts | <gh_stars>1-10
/*
* Copyright (c) 2017-2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright n... |
financialforcedev/orizuru-auth | test/index/client/oauth2Jwt.test.ts | /*
* Copyright (c) 2019, FinancialForce.com, inc
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* this ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.