目录

TokenBinding

Class Info

public class TokenBinding

Token Binding protocol, which is used for communication between the client and relying party.

Public Constructor Summary

Constructor Name

TokenBinding(TokenBindingStatus status, String id)

Constructs a TokenBinding object.

Public Method Summary

Qualifier and Type

Method Name and Description

public TokenBindingStatus

getStatus()

Obtains the token binding status of the client.

The states are as follows:

  • present: The client is communicating with the relying party.
  • supported: Token binding is supported, but the client is not communicating with the relying party currently.

public String

getId()

Obtains a token binding ID.

Public Constructors

[h2]TokenBinding

Constructor

TokenBinding(TokenBindingStatus status, String id)

Constructs a TokenBinding object.

Parameters

Name

Description

status

Token binding status of the client.

The states are as follows:

  • present: The client is communicating with the relying party.
  • supported: Token binding is supported, but the client is not communicating with the relying party currently.

id

Token binding ID.

Public Methods

[h2]getStatus

Method

public TokenBindingStatus getStatus()

Obtains the token binding status.

Returns

Type

Description

TokenBindingStatus

Token binding status of the client.

The states are as follows:

  • present: The client is communicating with the relying party.
  • supported: Token binding is supported, but the client is not communicating with the relying party currently.

[h2]getId

Method

public String getId()

Obtains a token ID.

Returns

Type

Description

String

Token ID.