Interface IOAuthAuthorization

    • Method Detail

      • authorize

        void authorize​(IOAuthParameters parameters,
                       java.util.function.Consumer<java.util.Optional<IOAuthToken>> consumer,
                       java.lang.Enum<?>... scopes)
        Perform the authorization dance
        Parameters:
        parameters - The OAuth parameters
        consumer - The callback for the generated token
        scopes - The scopes to ask for