public interface

Workflow

com.amazon.identity.auth.device.api.authorization.Workflow

Class Overview

Defines the programmatic concept of a scope-independent workflow The AuthorizationManager and related APIs take in workflows that conform to this interface.{@since 3.0.5 }

Summary

Public Methods
abstract String getName()
The name of a scope-independent post-authorization workflow
abstract JSONObject getWorkflowData()
A Workflow can have additional metadata passed in.

Public Methods

public abstract String getName ()

The name of a scope-independent post-authorization workflow

Returns
  • The literal string value of the workflow name.

public abstract JSONObject getWorkflowData ()

A Workflow can have additional metadata passed in. This additional data is returned by the Workflow implementation as a JSON representation.

Returns
  • Additional workflow data if desired, otherwise null.