public class FederationRegistrationRequest extends Object implements Serializable
/federation/registration
API.
The Authlete API is for implementations of the federation registration endpoint that accepts "explicit client registration". Its details are defined in OpenID Connect Federation 1.0.
The endpoint accepts POST
requests whose Content-Type
is either of the following.
application/entity-statement+jwt
application/trust-chain+json
When the Content-Type
of a request is
application/entity-statement+jwt
, the content of the request is
the entity configuration of a relying party that is to be registered.
In this case, the implementation of the federation registration endpoint
should call Authlete's /federation/registration
API with the
entity configuration set to the entityConfiguration
request
parameter.
On the other hand, when the Content-Type
of a request is
application/trust-chain+json
, the content of the request is a
JSON array that contains entity statements in JWT format. The sequence
of the entity statements composes the trust chain of a relying party
that is to be registered. In this case, the implementation of the
federation registration endpoint should call Authlete's
/federation/registration
API with the trust chain set to the
trustChain
request parameter.
Constructor and Description |
---|
FederationRegistrationRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getEntityConfiguration()
Get the entity configuration of a relying party.
|
String |
getTrustChain()
Get the trust chain of a relying party.
|
FederationRegistrationRequest |
setEntityConfiguration(String jwt)
Set the entity configuration of a relying party.
|
FederationRegistrationRequest |
setTrustChain(String json)
Set the trust chain of a relying party.
|
public String getEntityConfiguration()
public FederationRegistrationRequest setEntityConfiguration(String jwt)
jwt
- An entity configuration in JWT format.this
object.public String getTrustChain()
public FederationRegistrationRequest setTrustChain(String json)
json
- A trust chain in JSON format.this
object.Copyright © 2023. All rights reserved.