Member Junction
    Preparing search index...

    Panel for viewing and editing existing API keys

    Hierarchy (View Summary)

    Implements

    • OnChanges
    Index

    Constructors

    Properties

    ActiveTab: "details" | "scopes" | "usage" = 'details'
    APIKey: MJAPIKeyEntity | null = null
    Closed: EventEmitter<void> = ...
    EditDescription: string = ''
    EditExpiresAt: Date | null = null
    EditLabel: string = ''
    ErrorMessage: string = ''
    HasScopeChanges: boolean = false
    IsEditing: boolean = false
    IsLoading: boolean = true
    IsLoadingLogs: boolean = true
    IsLoadingScopes: boolean = true
    IsRevoking: boolean = false
    IsSaving: boolean = false
    KeyId: string | null = null
    Provider: IMetadataProvider | null

    If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.

    RevokeConfirmText: string = ''
    Revoked: EventEmitter<MJAPIKeyEntity> = ...
    ScopeCategories: ScopeCategory[] = []
    ShowRevokeConfirm: boolean = false
    SuccessMessage: string = ''
    Updated: EventEmitter<MJAPIKeyEntity> = ...
    UsageLogs: UsageLogItem[] = []
    Visible: boolean = false
    VisibleChange: EventEmitter<boolean> = ...
    "ɵdir": unknown
    "ɵfac": unknown

    Accessors

    • get ProviderToUse(): IMetadataProvider

      Returns either the default Metadata provider or the one specified in the Provider property, if it was specified

      Returns IMetadataProvider

    • get RunQueryToUse(): IRunQueryProvider

      Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified

      Returns IRunQueryProvider

    • get RunReportToUse(): IRunReportProvider

      Returns either the default RunReport provider or the one specified in the Provider property, if it was specified

      Returns IRunReportProvider

    • get RunViewToUse(): IRunViewProvider

      Returns either the default RunView provider or the one specified in the Provider property, if it was specified

      Returns IRunViewProvider

    Methods

    • A callback method that is invoked immediately after the default change detector has checked data-bound properties if at least one has changed, and before the view and content children are checked.

      Parameters

      • changes: { [propName: string]: SimpleChange<any> }

        The changed properties.

      Returns Promise<void>