Annotation Type OAuthFlow

    • Element Detail

      • authorizationUrl

        String authorizationUrl
        The authorization URL to be used for this flow. This must be in the form of a URL. Applies to oauth2 ("implicit", "authorizationCode") type.
        Returns:
        the authorization url
        Default:
        ""
      • tokenUrl

        String tokenUrl
        The token URL to be used for this flow. This must be in the form of a URL. Applies to oauth2 ("password", "clientCredentials", "authorizationCode") type.
        Returns:
        the token url
        Default:
        ""
      • refreshUrl

        String refreshUrl
        The URL to be used for obtaining refresh tokens. This must be in the form of a URL. Applies to oauth2 type.
        Returns:
        the refresh url
        Default:
        ""
      • scopes

        OAuthScope[] scopes
        The available scopes for the OAuth2 security scheme. Applies to oauth2 type.
        Returns:
        array of scopes
        Default:
        {}
      • extensions

        Extension[] extensions
        The list of optional extensions
        Returns:
        an optional array of extensions
        Default:
        {}