public interface ClientSessionContext
Modifier and Type | Method and Description |
---|---|
<T> T |
getAttribute(String attribute,
Class<T> clazz) |
Set<String> |
getClientScopeIds() |
default Set<ClientScopeModel> |
getClientScopes()
Deprecated.
Use
getClientScopesStream instead. |
Stream<ClientScopeModel> |
getClientScopesStream()
Returns client scopes as a stream.
|
AuthenticatedClientSessionModel |
getClientSession() |
default Set<ProtocolMapperModel> |
getProtocolMappers()
Deprecated.
Use
getProtocolMappersStream instead. |
Stream<ProtocolMapperModel> |
getProtocolMappersStream()
Returns protocol mappers as a stream.
|
default Set<RoleModel> |
getRoles()
Deprecated.
Use
getRolesStream instead. |
Stream<RoleModel> |
getRolesStream()
Returns all roles including composite ones as a stream.
|
String |
getScopeString() |
void |
setAttribute(String name,
Object value) |
AuthenticatedClientSessionModel getClientSession()
@Deprecated default Set<ClientScopeModel> getClientScopes()
getClientScopesStream
instead.Stream<ClientScopeModel> getClientScopesStream()
null
.@Deprecated default Set<RoleModel> getRoles()
getRolesStream
instead.Stream<RoleModel> getRolesStream()
RoleModel
. Never returns null
.@Deprecated default Set<ProtocolMapperModel> getProtocolMappers()
getProtocolMappersStream
instead.Stream<ProtocolMapperModel> getProtocolMappersStream()
null
.String getScopeString()
Copyright © 2021 JBoss by Red Hat. All rights reserved.