Package google.registry.flows
Interface SessionMetadata
- All Known Implementing Classes:
HttpSessionMetadata
,StatelessRequestSessionMetadata
public interface SessionMetadata
Object to allow setting and retrieving session information in flows.
-
Method Summary
Modifier and TypeMethodDescriptionint
void
void
Invalidates the session.void
void
setRegistrarId
(String registrarId) void
setServiceExtensionUris
(Set<String> serviceExtensionUris)
-
Method Details
-
invalidate
void invalidate()Invalidates the session. A new instance must be created after this for future sessions. Attempts to invoke methods of this class after this method has been called will throwIllegalStateException
. -
getRegistrarId
String getRegistrarId() -
getServiceExtensionUris
-
getFailedLoginAttempts
int getFailedLoginAttempts() -
setRegistrarId
-
setServiceExtensionUris
-
incrementFailedLoginAttempts
void incrementFailedLoginAttempts() -
resetFailedLoginAttempts
void resetFailedLoginAttempts()
-