Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "secured"

Index

Variables

Const ProviderForOrgQuery

ProviderForOrgQuery: "query ProviderForOrg($owner: String!) {Org(owner: $owner) {provider {apiUrlproviderType}}}" = `query ProviderForOrg($owner: String!) {Org(owner: $owner) {provider {apiUrlproviderType}}}`

Const UnAuthorizedResult

UnAuthorizedResult: Promise<object> = Promise.resolve({ code: 403, message: "Access denied" })

Functions

githubOrg

githubTeam

isGitHubOrgMember

  • isGitHubOrgMember(org: string, login: string, token: string): Promise<boolean>
  • Parameters

    • org: string
    • login: string
    • token: string

    Returns Promise<boolean>

isGitHubTeamMember

  • isGitHubTeamMember(owner: string, login: string, team: string, token: string, apiUrl?: string): Promise<boolean>
  • Parameters

    • owner: string
    • login: string
    • team: string
    • token: string
    • Default value apiUrl: string = "https://api.github.com/"

    Returns Promise<boolean>

sendUnauthorized

slackUser

Generated using TypeDoc