Backend half
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
import {Credentials} from '../credentials';
|
||||
export class RemoteCredentials extends Credentials {
|
||||
/**
|
||||
* Represents credentials received.
|
||||
* @param {object} options - Override the default (1s) timeout period.
|
||||
*/
|
||||
constructor(options?: RemoteCredentialsOptions);
|
||||
}
|
||||
interface RemoteCredentialsOptions {
|
||||
httpOptions?: {
|
||||
/**
|
||||
* Timeout in milliseconds.
|
||||
*/
|
||||
timeout?: number
|
||||
}
|
||||
maxRetries?: number
|
||||
}
|
||||
Reference in New Issue
Block a user