Skip to content

Commit

Permalink
chore(release): 6.1.0 semantic
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release-bot committed Apr 25, 2022
1 parent 5f8cd5e commit edb6c68
Show file tree
Hide file tree
Showing 269 changed files with 4,677 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# [6.1.0](https://github.com/sourcefuse/loopback4-authentication/compare/v6.0.3...v6.1.0) (2022-04-25)


### Features

* **component:** add a new strategy for otp ([#67](https://github.com/sourcefuse/loopback4-authentication/issues/67)) ([5f8cd5e](https://github.com/sourcefuse/loopback4-authentication/commit/5f8cd5e5c607a08efaf17d9248fab8ca146e393c)), closes [#69](https://github.com/sourcefuse/loopback4-authentication/issues/69) [#69](https://github.com/sourcefuse/loopback4-authentication/issues/69) [#69](https://github.com/sourcefuse/loopback4-authentication/issues/69)
4 changes: 4 additions & 0 deletions dist/__tests__/fixtures/data/bearer-data.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { IAuthUser } from '../../../types';
export declare const userWithoutReqObj: IAuthUser;
export declare const userWhenReqObj: IAuthUser;
export declare const validToken = "validtoken";
15 changes: 15 additions & 0 deletions dist/__tests__/fixtures/data/bearer-data.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/__tests__/fixtures/data/bearer-data.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions dist/__tests__/fixtures/providers/azuread-auth.provider.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { Provider } from '@loopback/core';
import { VerifyFunction } from '../../../strategies';
export declare class BearerTokenVerifyProvider implements Provider<VerifyFunction.AzureADAuthFn> {
constructor();
value(): VerifyFunction.AzureADAuthFn;
}
18 changes: 18 additions & 0 deletions dist/__tests__/fixtures/providers/azuread-auth.provider.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { Provider } from '@loopback/core';
import { VerifyFunction } from '../../../strategies';
export declare class BearerTokenVerifyProvider implements Provider<VerifyFunction.BearerFn> {
constructor();
value(): VerifyFunction.BearerFn;
}
20 changes: 20 additions & 0 deletions dist/__tests__/fixtures/providers/bearer-passport.provider.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions dist/__tests__/fixtures/providers/google-auth.provider.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { Provider } from '@loopback/core';
import { VerifyFunction } from '../../../strategies';
export declare class BearerTokenVerifyProvider implements Provider<VerifyFunction.GoogleAuthFn> {
constructor();
value(): VerifyFunction.GoogleAuthFn;
}
18 changes: 18 additions & 0 deletions dist/__tests__/fixtures/providers/google-auth.provider.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions dist/__tests__/fixtures/providers/instagram-auth.provider.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/// <reference types="qs" />
/// <reference types="express" />
import { Provider } from '@loopback/core';
import { VerifyCallback, VerifyFunction } from '../../../strategies';
import * as InstagramStrategy from 'passport-instagram';
import { IAuthUser } from '../../../types';
import { Request } from '@loopback/rest';
export declare class BearerTokenVerifyProvider implements Provider<VerifyFunction.InstagramAuthFn> {
constructor();
value(): (accessToken: string, refreshToken: string, profile: InstagramStrategy.Profile, cb: VerifyCallback, req?: Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>> | undefined) => Promise<IAuthUser>;
}
18 changes: 18 additions & 0 deletions dist/__tests__/fixtures/providers/instagram-auth.provider.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { Provider } from '@loopback/core';
import { VerifyFunction } from '../../../strategies';
export declare class LocalVerifyProvider implements Provider<VerifyFunction.LocalPasswordFn> {
constructor();
value(): VerifyFunction.LocalPasswordFn;
}
24 changes: 24 additions & 0 deletions dist/__tests__/fixtures/providers/local-password.provider.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { Provider } from '@loopback/core';
import { VerifyFunction } from '../../../strategies';
import { IAuthClient } from '../../../types';
export declare class ClientPasswordVerifyProvider implements Provider<VerifyFunction.OauthClientPasswordFn> {
constructor();
value(): (clientId: string, clientSecret: string) => Promise<IAuthClient | null>;
}
20 changes: 20 additions & 0 deletions dist/__tests__/fixtures/providers/passport-client.provider.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { Provider } from '@loopback/core';
import { VerifyFunction } from '../../../strategies';
export declare class ResourceOwnerVerifyProvider implements Provider<VerifyFunction.ResourceOwnerPasswordFn> {
constructor();
value(): VerifyFunction.ResourceOwnerPasswordFn;
}
25 changes: 25 additions & 0 deletions dist/__tests__/fixtures/providers/resource-owner.provider.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions dist/__tests__/fixtures/sequences/authentication.sequence.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { FindRoute, InvokeMethod, ParseParams, Reject, RequestContext, Send, SequenceHandler } from '@loopback/rest';
import { AuthenticateFn } from '../../../';
import { IAuthUser, IAuthClient } from '../../../types';
export declare class MyAuthenticationSequence implements SequenceHandler {
protected findRoute: FindRoute;
protected parseParams: ParseParams;
protected invoke: InvokeMethod;
protected send: Send;
protected reject: Reject;
protected authenticateClientRequest: AuthenticateFn<IAuthClient | undefined>;
protected authenticateRequest: AuthenticateFn<IAuthUser | undefined>;
constructor(findRoute: FindRoute, parseParams: ParseParams, invoke: InvokeMethod, send: Send, reject: Reject, authenticateClientRequest: AuthenticateFn<IAuthClient | undefined>, authenticateRequest: AuthenticateFn<IAuthUser | undefined>);
handle(context: RequestContext): Promise<void>;
}
53 changes: 53 additions & 0 deletions dist/__tests__/fixtures/sequences/authentication.sequence.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions dist/__tests__/integration/helpers/helpers.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { Application } from '@loopback/core';
/**
*Gives an instance of application
*/
export declare function getApp(): Application;
17 changes: 17 additions & 0 deletions dist/__tests__/integration/helpers/helpers.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/__tests__/integration/helpers/helpers.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
Loading

0 comments on commit edb6c68

Please sign in to comment.