release: @marketplaces/auth 0.1.0 (built from main)
This commit is contained in:
12
dist/ed25519/noop-ed25519-verification.service.d.ts
vendored
Normal file
12
dist/ed25519/noop-ed25519-verification.service.d.ts
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Observable } from 'rxjs';
|
||||
import { Ed25519Challenge, Ed25519SignedResponse, Ed25519VerificationResult, Ed25519VerificationService } from './ed25519-verification.model';
|
||||
/**
|
||||
* Default DI binding for Ed25519VerificationService until the backend ships
|
||||
* the real challenge/verify endpoints. Intentionally fails closed (throws)
|
||||
* rather than pretending to verify anything, so accidental use in a login
|
||||
* path is loud instead of silently accepting unsigned sessions.
|
||||
*/
|
||||
export declare class NoopEd25519VerificationService implements Ed25519VerificationService {
|
||||
requestChallenge(): Observable<Ed25519Challenge>;
|
||||
verify(_response: Ed25519SignedResponse): Observable<Ed25519VerificationResult>;
|
||||
}
|
||||
Reference in New Issue
Block a user