[java-oidc-common] branch main updated: Add OIDC Provider Information context
Phil Smart
philip.smart at jisc.ac.uk
Wed Feb 2 13:51:48 UTC 2022
This is an automated email from the git hooks/post-receive script.
philsmart pushed a commit to branch main
in repository java-oidc-common.
View the commit online:
http://git.shibboleth.net/view/?p=java-oidc-common.git;a=commit;h=ca646a31c165ed317722c10fb7dda4481852a53a
The following commit(s) were added to refs/heads/main by this push:
new ca646a3 Add OIDC Provider Information context
ca646a3 is described below
commit ca646a31c165ed317722c10fb7dda4481852a53a
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Wed Feb 2 13:51:42 2022 +0000
Add OIDC Provider Information context
We might want to conflate this with the OIDCMetdataContext, rather than
having a separate context.
---
.../context/OIDCProviderMetadataContext.java | 36 ++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/oidc-common-metadata-api/src/main/java/net/shibboleth/oidc/metadata/context/OIDCProviderMetadataContext.java b/oidc-common-metadata-api/src/main/java/net/shibboleth/oidc/metadata/context/OIDCProviderMetadataContext.java
new file mode 100644
index 0000000..6483284
--- /dev/null
+++ b/oidc-common-metadata-api/src/main/java/net/shibboleth/oidc/metadata/context/OIDCProviderMetadataContext.java
@@ -0,0 +1,36 @@
+package net.shibboleth.oidc.metadata.context;
+
+import javax.annotation.Nullable;
+
+import org.opensaml.messaging.context.BaseContext;
+
+import com.nimbusds.openid.connect.sdk.op.OIDCProviderMetadata;
+
+/**
+ * Subcontext carrying information on metadata of the OpenID Connect Provider.
+ */
+public class OIDCProviderMetadataContext extends BaseContext {
+
+ /** The client information. */
+ @Nullable private OIDCProviderMetadata providerInformation;
+
+ /**
+ * Set the provider information.
+ *
+ * @param information the information.
+ */
+ public void setProviderInformation(@Nullable final OIDCProviderMetadata information) {
+ providerInformation = information;
+ }
+
+ /**
+ * Set the client information.
+ *
+ * @return The client information.
+ */
+ @Nullable
+ public OIDCProviderMetadata getProviderInformation() {
+ return providerInformation;
+ }
+
+}
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list