Search
Preparing search index...
The search index is not available
@jolocom/sdk - v1.0.0
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
"src/interactionManager/authorizationFlow"
AuthorizationFlow
Class AuthorizationFlow
Hierarchy
Flow
<
AuthorizationResponse
|
AuthorizationRequest
>
AuthorizationFlow
Index
Constructors
constructor
Properties
ctx
type
Methods
consume
Authorization
Request
consume
Authorization
Response
get
State
handle
Interaction
Token
Object literals
state
Constructors
constructor
new
Authorization
Flow
(
ctx
:
Interaction
)
:
AuthorizationFlow
Parameters
ctx:
Interaction
Returns
AuthorizationFlow
Properties
Protected
ctx
ctx
:
Interaction
type
type
:
FlowType
= FlowType.Authorization
Methods
consume
Authorization
Request
consume
Authorization
Request
(
request
:
AuthorizationRequest
)
:
Promise
<
boolean
>
Parameters
request:
AuthorizationRequest
Returns
Promise
<
boolean
>
consume
Authorization
Response
consume
Authorization
Response
(
response
:
AuthorizationResponse
)
:
Promise
<
boolean
>
Parameters
response:
AuthorizationResponse
Returns
Promise
<
boolean
>
get
State
get
State
(
)
:
FlowState
Returns
FlowState
handle
Interaction
Token
handle
Interaction
Token
(
token
:
AuthorizationRequest
|
AuthorizationResponse
, interactionType
:
string
)
:
Promise
<
boolean
>
Parameters
token:
AuthorizationRequest
|
AuthorizationResponse
interactionType:
string
Returns
Promise
<
boolean
>
Object literals
state
state
:
object
description
description
:
string
= ""
Globals
"src/interaction
Manager/authorization
Flow"
Authorization
Flow
constructor
ctx
type
consume
Authorization
Request
consume
Authorization
Response
get
State
handle
Interaction
Token
state
Generated using
TypeDoc