Skip to content

feat: add extra session for e.g. partners#5

Merged
mvdhoek1 merged 2 commits intomainfrom
feat/partner-session
Mar 27, 2026
Merged

feat: add extra session for e.g. partners#5
mvdhoek1 merged 2 commits intomainfrom
feat/partner-session

Conversation

@mvdhoek1
Copy link
Contributor

@mvdhoek1 mvdhoek1 commented Mar 25, 2026


class DigiDPartnerSession extends DigiDSession
{
protected static function get_slot(): string
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kunnen we hier niet een isPartnerSession() function van maken? Of zijn er nog andere type sessies mogelijk?

Dan kan je ook isPartnerLoggedIn() toevoegen.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ik heb in de IdpSession class dit toegevoegd:

public static function isPartnerLoggedIn(): bool
{
    $isLoggedIn = apply_filters('owc_idp_is_logged_in', false, static::get_idp(), '2');

    return apply_filters('owc_' . static::get_idp() . '_is_logged_in_2', $isLoggedIn);
}

@mvdhoek1 mvdhoek1 force-pushed the feat/partner-session branch from 2c46b03 to 136ac87 Compare March 26, 2026 10:52
@mvdhoek1 mvdhoek1 requested a review from ictbeheer March 26, 2026 10:53
@mvdhoek1 mvdhoek1 merged commit 772720b into main Mar 27, 2026
@mvdhoek1 mvdhoek1 deleted the feat/partner-session branch March 27, 2026 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants