You are here

public function KeycloakRoleMatcher::getUserGroupsClaimName in Keycloak OpenID Connect 8

Return the user groups claim name.

Return value

string The configured (fully qualified) user groups claim name.

1 call to KeycloakRoleMatcher::getUserGroupsClaimName()
KeycloakRoleMatcher::applyRoleRules in src/Service/KeycloakRoleMatcher.php
Applies user role rules to the given user account.

File

src/Service/KeycloakRoleMatcher.php, line 159

Class

KeycloakRoleMatcher
Role matcher service.

Namespace

Drupal\keycloak\Service

Code

public function getUserGroupsClaimName() {
  return $this->config
    ->get('settings.keycloak_groups.claim_name');
}