public class AccessTokenContextHolder extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AccessTokenContextHolder.AccessTokenContext |
Constructor and Description |
---|
AccessTokenContextHolder() |
Modifier and Type | Method and Description |
---|---|
static void |
clearContext() |
static Optional<AccessToken> |
getAccessToken() |
static AccessTokenContextHolder.AccessTokenContext |
getContext() |
static void |
setContext(AccessTokenContextHolder.AccessTokenContext authTokenContext) |
public static void setContext(@Nullable AccessTokenContextHolder.AccessTokenContext authTokenContext)
@Nullable public static AccessTokenContextHolder.AccessTokenContext getContext()
@NotNull public static Optional<AccessToken> getAccessToken()
public static void clearContext()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.