Options
All
  • Public
  • Public/Protected
  • All
Menu

Strategy interface to resolve credentials from a handler invocation.

Hierarchy

  • CredentialsResolver

Implemented by

Index

Methods

commandHandlerCredentials

  • commandHandlerCredentials(context: HandlerContext, id?: RemoteRepoRef): Promise<ProjectOperationCredentials> | ProjectOperationCredentials
  • Return the appropriate credentials for this command handler invocation.

    Parameters

    • context: HandlerContext
    • Optional id: RemoteRepoRef

      id of the repo if available

    Returns Promise<ProjectOperationCredentials> | ProjectOperationCredentials

eventHandlerCredentials

  • eventHandlerCredentials(context: HandlerContext, id?: RemoteRepoRef): Promise<ProjectOperationCredentials> | ProjectOperationCredentials
  • Return the appropriate credentials for this event handler invocation.

    Parameters

    • context: HandlerContext
    • Optional id: RemoteRepoRef

      id of the repo if available

    Returns Promise<ProjectOperationCredentials> | ProjectOperationCredentials

Generated using TypeDoc