oauth/LegacyPlatformIdentityDecision.java

skillhub · server/skillhub-auth/src/main/java/com/iflytek/skillhub/auth/oauth/LegacyPlatformIdentityDecision.java · java · Apache-2.0
auth

Holds the result of evaluating legacy OAuth logins against the unified identity core.

// Source: https://github.com/iflytek/skillhub | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
package com.iflytek.skillhub.auth.oauth;

import com.iflytek.skillhub.auth.federation.core.IdentityCoreMode;
import com.iflytek.skillhub.auth.federation.core.IdentityLoginResolution;
import java.util.Objects;
import java.util.Optional;

/**
 * Result of evaluating one platform-scoped legacy OAuth login against the unified identity core.
 *
 * <p>LEGACY mode intentionally carries no resolution because the old binding path remains the only
 * decision-maker. SHADOW and ACTIVE carry the core resolution when evaluation was possible.</p>
 */
public record LegacyPlatformIdentityDecision(
     

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key