Package org.forgerock.openig.fapi.dcr
Class SoftwareStatement.Builder
java.lang.Object
org.forgerock.openig.fapi.dcr.SoftwareStatement.Builder
- Enclosing class:
- SoftwareStatement
Builder of
SoftwareStatement
s.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build theSoftwareStatement
.clientName
(String clientName) Set the client name.Set the issuer name of the Trusted Directory that issued the software statement.jwksLocator
(Choice<URI, JWKSet> jwksLocator) Set the JWKSet locator.organisationId
(String organisationId) Set the organisation ID.organisationName
(String organisationName) Set the organisation name.redirectUris
(List<URI> redirectUris) Set the redirect URIs.Set the roles.softwareId
(String softwareId) Set the software ID.softwareStatementAssertion
(SignedJwt softwareStatementAssertion) Set the software statement assertion.
-
Method Details
-
issuer
Set the issuer name of the Trusted Directory that issued the software statement.- Parameters:
issuer
- the issuer name- Returns:
- this builder
-
organisationId
Set the organisation ID.- Parameters:
organisationId
- the organisation ID- Returns:
- this builder
-
organisationName
Set the organisation name.- Parameters:
organisationName
- the organisation name- Returns:
- this builder
-
softwareId
Set the software ID.- Parameters:
softwareId
- the software ID- Returns:
- this builder
-
clientName
Set the client name.- Parameters:
clientName
- the client name- Returns:
- this builder
-
softwareStatementAssertion
Set the software statement assertion.- Parameters:
softwareStatementAssertion
- the software statement assertion- Returns:
- this builder
-
roles
Set the roles.- Parameters:
roles
- the roles- Returns:
- this builder
-
jwksLocator
Set the JWKSet locator. This represents where theJWKSet
for this software can be found. This is either via URI or as a JWKSet embedded in the software statement.- Parameters:
jwksLocator
- the JWKSet locator- Returns:
- this builder
-
redirectUris
Set the redirect URIs.- Parameters:
redirectUris
- the redirect URIs- Returns:
- this builder
-
build
Build theSoftwareStatement
.- Returns:
- the
SoftwareStatement
-