@rockcarver/frodo-lib
Version:
A library to manage ForgeRock Identity Cloud tenants, ForgeOps deployments, and classic deployments.
20 lines • 970 B
TypeScript
import { ServiceAccountScope } from '../../api/cloud/EnvServiceAccountScopesApi';
import { State } from '../../shared/State';
export type EnvServiceAccountScopes = {
/**
* Read available service account scopes
* @returns {Promise<SSOCookieConfig>} a promise that resolves to an array of ServiceAccountScope objects or a flattened array of scope strings
*/
readServiceAccountScopes(flatten?: boolean): Promise<ServiceAccountScope[] | string[]>;
};
declare const _default: (state: State) => EnvServiceAccountScopes;
export default _default;
/**
* Read available service account scopes
* @returns {Promise<SSOCookieConfig>} a promise that resolves to an array of ServiceAccountScope objects or a flattened array of scope strings
*/
export declare function readServiceAccountScopes({ flatten, state, }: {
flatten: boolean;
state: State;
}): Promise<ServiceAccountScope[] | string[]>;
//# sourceMappingURL=EnvServiceAccountScopesOps.d.ts.map