-
Notifications
You must be signed in to change notification settings - Fork 166
Expand file tree
/
Copy pathredirect_based_handler.d.ts
More file actions
22 lines (22 loc) · 1.14 KB
/
redirect_based_handler.d.ts
File metadata and controls
22 lines (22 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { AuthorizationRequest } from './authorization_request';
import { AuthorizationRequestHandler, AuthorizationRequestResponse } from './authorization_request_handler';
import { AuthorizationServiceConfiguration } from './authorization_service_configuration';
import { Crypto } from './crypto_utils';
import { BasicQueryStringUtils } from './query_string_utils';
import { StorageBackend } from './storage';
import { LocationLike } from './types';
/**
* Represents an AuthorizationRequestHandler which uses a standard
* redirect based code flow.
*/
export declare class RedirectRequestHandler extends AuthorizationRequestHandler {
storageBackend: StorageBackend;
locationLike: LocationLike;
constructor(storageBackend?: StorageBackend, utils?: BasicQueryStringUtils, locationLike?: LocationLike, crypto?: Crypto);
performAuthorizationRequest(configuration: AuthorizationServiceConfiguration, request: AuthorizationRequest): Promise<void>;
/**
* Attempts to introspect the contents of storage backend and completes the
* request.
*/
protected completeAuthorizationRequest(): Promise<AuthorizationRequestResponse | null>;
}