Class IssueRegistrationAccessTokenArguments
java.lang.Object
net.shibboleth.idp.cli.AbstractCommandLineArguments
net.shibboleth.idp.plugin.oidc.op.cli.IssueRegistrationAccessTokenArguments
- All Implemented Interfaces:
CommandLineArguments
Command line processing for issue-registration-access-token flow.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringRequested client identifier for the access token to be issued.private StringLifetime for the access token to be issued.private org.slf4j.LoggerLogger.private StringMetadata policy identifier for the access token to be issued.private StringMetadata policy to embed in the token.private booleanFlag to signal one-time use of the token.static final StringThe URL parameter name for the client identifier.static final StringThe URL parameter name for the access token lifetime.static final StringThe URL parameter name for the relying party identifier.static final StringThe URL parameter name for the metadata policy location.static final StringThe URL parameter name for the replacement flag.Fields inherited from class net.shibboleth.idp.cli.AbstractCommandLineArguments
BASEURL_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate StringBuilderappendSeparator(StringBuilder builder) Append the proper parameter separator to the builder.protected StringBuilderdoBuildURL(StringBuilder builder) org.slf4j.LoggergetLog()voidvalidate()Methods inherited from class net.shibboleth.idp.cli.AbstractCommandLineArguments
buildURL, getBasicAuthHeader, getHeaders, getHelp, getMethod, getPassword, getPath, getTrustStore, getTrustStorePassword, getTrustStoreType, getURL, getUsername, isDisableNameChecking, isUsage
-
Field Details
-
log
@Nullable private org.slf4j.Logger logLogger. -
URL_PARAM_POLICY_LOCATION
The URL parameter name for the metadata policy location.- See Also:
-
URL_PARAM_LIFETIME
The URL parameter name for the access token lifetime.- See Also:
-
URL_PARAM_POLICY_ID
The URL parameter name for the relying party identifier.- See Also:
-
URL_PARAM_CLIENT_ID
The URL parameter name for the client identifier.- See Also:
-
URL_PARAM_REPLACEMENT
The URL parameter name for the replacement flag.- See Also:
-
policyLocation
Metadata policy to embed in the token. -
lifetime
Lifetime for the access token to be issued. -
policyId
Metadata policy identifier for the access token to be issued. -
clientId
Requested client identifier for the access token to be issued. -
replacement
private boolean replacementFlag to signal one-time use of the token.
-
-
Constructor Details
-
IssueRegistrationAccessTokenArguments
public IssueRegistrationAccessTokenArguments()
-
-
Method Details
-
validate
public void validate()- Specified by:
validatein interfaceCommandLineArguments- Overrides:
validatein classAbstractCommandLineArguments
-
doBuildURL
- Overrides:
doBuildURLin classAbstractCommandLineArguments
-
appendSeparator
Append the proper parameter separator to the builder.- Parameters:
builder- input builder- Returns:
- the input
-
getLog
@Nonnull public org.slf4j.Logger getLog()
-