@finbourne/lusid-sdk-angular6
Version:
An angular (6+) SDK for secure access to the LUSID® by FINBOURNE web API
26 lines (25 loc) • 1.42 kB
TypeScript
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
import { Observable } from 'rxjs';
import { Configuration } from '../configuration';
export declare class LoginService {
protected httpClient: HttpClient;
protected basePath: string;
defaultHeaders: HttpHeaders;
configuration: Configuration;
constructor(httpClient: HttpClient, basePath: string, configuration: Configuration);
/**
* @param consumes string[] mime-types
* @return true: consumes contains 'multipart/form-data', false: otherwise
*/
private canConsumeForm(consumes);
/**
* Get SAML Identity Provider
* Get the unique identifier for the SAML 2.0 Identity Provider to be used for domain.
* @param domain The domain that the user will be logging in to
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
getSamlIdentityProviderId(domain: string, observe?: 'body', reportProgress?: boolean): Observable<string>;
getSamlIdentityProviderId(domain: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<string>>;
getSamlIdentityProviderId(domain: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<string>>;
}