Class SpaceApplicationInformation


  • public class SpaceApplicationInformation
    extends Object
    Value-Object encapsulating what we know about a Space application.
    • Constructor Detail

      • SpaceApplicationInformation

        public SpaceApplicationInformation​(boolean codeFlowEnabled,
                                           boolean clientCredentialFlowEnabled,
                                           @NotNull
                                           Map<String,​SpaceApplicationRights> rights,
                                           @Nullable
                                           String appId,
                                           @Nullable
                                           String ownerAppId)
    • Method Detail

      • none

        public static SpaceApplicationInformation none()
        Space application information for the case where we couldn't retrieve any actual info from Space.
        Returns:
        a null-object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • isCodeFlowEnabled

        public boolean isCodeFlowEnabled()
      • isClientCredentialFlowEnabled

        public boolean isClientCredentialFlowEnabled()
      • getAppId

        @Nullable
        public String getAppId()
      • getOwnerAppId

        @Nullable
        public String getOwnerAppId()
      • getAuthorizedContexts

        @NotNull
        public Set<String> getAuthorizedContexts()
      • getProjectKeys

        @NotNull
        public Set<String> getProjectKeys()