Interface PresignedTokenStorage
-
- All Known Implementing Classes:
InMemoryPresignedTokenStorage,SecurePresignedTokenStorage
public interface PresignedTokenStorage
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPresignedTokenStorage.DoesNotExistException
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringcreateToken(SBuild build, AuthorityHolder parentAuthorityHolder)voiddelete(String tokenValue)voiddeleteAll(SBuild build)PresignedTokengetToken(String value)booleanisTokenValid(String tokenValue, SBuild forBuild)intsize()
-
-
-
Method Detail
-
size
int size()
-
getToken
@Nullable PresignedToken getToken(@NotNull String value)
-
createToken
@NotNull String createToken(@NotNull SBuild build, @NotNull AuthorityHolder parentAuthorityHolder)
-
delete
void delete(@NotNull String tokenValue) throws PresignedTokenStorage.DoesNotExistException
-
deleteAll
void deleteAll(@NotNull SBuild build)
-
-