interface OAuth2SecurityScheme {
    description?: string;
    flows: {
        authorizationCode?: {
            authorizationUrl: string;
            refreshUrl?: string;
            scopes: {
                [scope: string]: string;
            };
            tokenUrl: string;
        };
        clientCredentials?: {
            refreshUrl?: string;
            scopes: {
                [scope: string]: string;
            };
            tokenUrl: string;
        };
        implicit?: {
            authorizationUrl: string;
            refreshUrl?: string;
            scopes: {
                [scope: string]: string;
            };
        };
        password?: {
            refreshUrl?: string;
            scopes: {
                [scope: string]: string;
            };
            tokenUrl: string;
        };
    };
    type: "oauth2";
}

Properties

description?: string
flows: {
    authorizationCode?: {
        authorizationUrl: string;
        refreshUrl?: string;
        scopes: {
            [scope: string]: string;
        };
        tokenUrl: string;
    };
    clientCredentials?: {
        refreshUrl?: string;
        scopes: {
            [scope: string]: string;
        };
        tokenUrl: string;
    };
    implicit?: {
        authorizationUrl: string;
        refreshUrl?: string;
        scopes: {
            [scope: string]: string;
        };
    };
    password?: {
        refreshUrl?: string;
        scopes: {
            [scope: string]: string;
        };
        tokenUrl: string;
    };
}

Type declaration

  • Optional authorizationCode?: {
        authorizationUrl: string;
        refreshUrl?: string;
        scopes: {
            [scope: string]: string;
        };
        tokenUrl: string;
    }
    • authorizationUrl: string
    • Optional refreshUrl?: string
    • scopes: {
          [scope: string]: string;
      }
      • [scope: string]: string
    • tokenUrl: string
  • Optional clientCredentials?: {
        refreshUrl?: string;
        scopes: {
            [scope: string]: string;
        };
        tokenUrl: string;
    }
    • Optional refreshUrl?: string
    • scopes: {
          [scope: string]: string;
      }
      • [scope: string]: string
    • tokenUrl: string
  • Optional implicit?: {
        authorizationUrl: string;
        refreshUrl?: string;
        scopes: {
            [scope: string]: string;
        };
    }
    • authorizationUrl: string
    • Optional refreshUrl?: string
    • scopes: {
          [scope: string]: string;
      }
      • [scope: string]: string
  • Optional password?: {
        refreshUrl?: string;
        scopes: {
            [scope: string]: string;
        };
        tokenUrl: string;
    }
    • Optional refreshUrl?: string
    • scopes: {
          [scope: string]: string;
      }
      • [scope: string]: string
    • tokenUrl: string
type: "oauth2"

Generated using TypeDoc