Class PresignedToken
- java.lang.Object
-
- jetbrains.buildServer.serverSide.auth.presigned.impl.PresignedToken
-
public final class PresignedToken extends Object
-
-
Constructor Summary
Constructors Constructor Description PresignedToken(SBuild build, AuthorityHolder parentAuthority, UptodateValue<Boolean> refreshOnAccess, UptodateValue<Long> ttl, TimeService timeService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getBuildId()
AuthorityHolder
getParentAuthority()
Set<String>
getProjectIds()
String
getValue()
boolean
isExpired()
boolean
isValid(long entityId)
-
-
-
Constructor Detail
-
PresignedToken
public PresignedToken(@NotNull SBuild build, @NotNull AuthorityHolder parentAuthority, @NotNull UptodateValue<Boolean> refreshOnAccess, @NotNull UptodateValue<Long> ttl, @NotNull TimeService timeService)
-
-
Method Detail
-
getValue
public String getValue()
-
isValid
public boolean isValid(long entityId)
-
getBuildId
public long getBuildId()
-
getParentAuthority
@NotNull public AuthorityHolder getParentAuthority()
-
isExpired
public boolean isExpired()
-
-