-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
- Loading branch information
There are no files selected for viewing
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) |
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"; |
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.AzureADAuthFn> { | ||
constructor(); | ||
value(): VerifyFunction.AzureADAuthFn; | ||
} |
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; | ||
} |
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.GoogleAuthFn> { | ||
constructor(); | ||
value(): VerifyFunction.GoogleAuthFn; | ||
} |
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,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>; | ||
} |
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; | ||
} |
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>; | ||
} |
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; | ||
} |
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,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>; | ||
} |
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,5 @@ | ||
import { Application } from '@loopback/core'; | ||
/** | ||
*Gives an instance of application | ||
*/ | ||
export declare function getApp(): Application; |
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 @@ | ||
export {}; |