public interface

InteractiveAPI

com.amazon.identity.auth.device.interactive.InteractiveAPI
Known Indirect Subclasses

Class Overview

Elements of an interactive API, such as requests and listeners, share this interface.{@since 3.0 }

Summary

Public Methods
abstract String getRequestType()
Interactive APIs are bound together by a request type.

Public Methods

public abstract String getRequestType ()

Interactive APIs are bound together by a request type. Requests and listeners are associated together if the value of getRequestType() is the same.

The request type should be a globally unique (it is recommended to use reverse fully qualified domain name style, e.g. "com.amazon.identity.auth.device.request.authorize"), and be safe to URL percent encode per RFC 3986.

Returns
  • A non-null, unique, RFC 3986-safe string that identifies the kind of interactive request.