Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
package com.sitepark.ies.sharedkernel.security;

import org.jspecify.annotations.Nullable;

/**
* Describes how a user was authenticated.
*
* @param providerId the id of the configured provider, {@code null} if the provider type has no
* configurable instances (e.g. OIDC logins)
*/
public record AuthenticationContext(
AuthProviderType providerType, String providerId, AuthMethod method, String externalId) {}
AuthProviderType providerType,
@Nullable String providerId,
AuthMethod method,
String externalId) {}
Loading