目录

CLASS info
public class TokenBinding
Represents the Token Binding protocol, which is used for communication between the client and relying party.

Public Constructor Summary

Method name

TokenBinding(TokenBindingStatus status, String id)

Represents a constructor for TokenBinding.

Public Methods Summary

Return typeMethod name
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.

String

getId()

Obtains a token binding ID.

Public Constructors

Method
TokenBinding(TokenBindingStatus status, String id)
Represents a constructor for TokenBinding.

Parameters

Parameter nameParameter desc
statusToken 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.
idToken binding ID.

Public Methods

Method
TokenBindingStatus getStatus()
Obtains the token binding status.

Return

typedesc
TokenBindingStatusToken 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.
Method
String getId()
Obtains a token ID.

Return

typedesc
StringToken ID.