Package com.atlassian.bamboo.security
Class AccessTokenContextHolder
- java.lang.Object
-
- com.atlassian.bamboo.security.AccessTokenContextHolder
-
public class AccessTokenContextHolder extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AccessTokenContextHolder.AccessTokenContext
-
Constructor Summary
Constructors Constructor Description AccessTokenContextHolder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
clearContext()
static @NotNull Optional<AccessToken>
getAccessToken()
static @Nullable AccessTokenContextHolder.AccessTokenContext
getContext()
static void
setContext(@Nullable AccessTokenContextHolder.AccessTokenContext authTokenContext)
-
-
-
Method Detail
-
setContext
public static void setContext(@Nullable @Nullable AccessTokenContextHolder.AccessTokenContext authTokenContext)
-
getContext
@Nullable public static @Nullable AccessTokenContextHolder.AccessTokenContext getContext()
-
getAccessToken
@NotNull public static @NotNull Optional<AccessToken> getAccessToken()
-
clearContext
public static void clearContext()
-
-