Class OidcAuthCredentials

java.lang.Object
org.apache.sling.auth.oauth_client.spi.OidcAuthCredentials
All Implemented Interfaces:
Serializable, javax.jcr.Credentials

public class OidcAuthCredentials extends Object implements javax.jcr.Credentials
See Also:
  • Constructor Details

    • OidcAuthCredentials

      public OidcAuthCredentials(@NotNull @NotNull String userId, @NotNull @NotNull String idp)
  • Method Details

    • getUserId

      @NotNull public @NotNull String getUserId()
    • getIdp

      @NotNull public @NotNull String getIdp()
    • getAttributes

      @NotNull public @NotNull Map<String,Object> getAttributes()
    • setAttribute

      public void setAttribute(@NotNull @NotNull String key, @NotNull @NotNull String value)
    • getAttribute

      @Nullable public @Nullable Object getAttribute(@NotNull @NotNull String key)
    • addGroup

      public void addGroup(@NotNull @NotNull String group)
    • getGroups

      @NotNull public @NotNull Iterable<String> getGroups()