Class IamUserProfileService

java.lang.Object
com.chaosguide.iam.vertex.user.IamUserProfileService

public class IamUserProfileService extends Object
Explicit current-user profile lookup with a short local cache.

Authorization should use IamContext and resolved authorities. This service is only for callers that need fresher display/profile data from IAM; /api/v1/auth/me.metadata is profile metadata, not app-scoped authorization attributes.

  • Constructor Details

  • Method Details

    • getCurrentProfile

      public UserProfileResponse getCurrentProfile()
    • getCurrentProfile

      public UserProfileResponse getCurrentProfile(CachePolicy policy)
    • invalidateCurrentProfile

      public void invalidateCurrentProfile()
    • invalidateAll

      public void invalidateAll()
    • estimatedSize

      public long estimatedSize()