Package io.getstream.core.utils
Class Auth
- java.lang.Object
-
- io.getstream.core.utils.Auth
-
public final class Auth extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Auth.TokenAction
static class
Auth.TokenResource
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Token
buildActivityToken(java.lang.String secret, Auth.TokenAction action)
static Token
buildAnalyticsRedirectToken(java.lang.String secret)
static Token
buildAnalyticsToken(java.lang.String secret, Auth.TokenAction action)
static Token
buildBackendToken(java.lang.String secret, Auth.TokenResource resource, Auth.TokenAction action, java.lang.String feedID)
static Token
buildBackendToken(java.lang.String secret, Auth.TokenResource resource, Auth.TokenAction action, java.lang.String feedID, java.lang.String userID)
static Token
buildCollectionsToken(java.lang.String secret, Auth.TokenAction action)
static Token
buildFeedToken(java.lang.String secret, FeedID feed, Auth.TokenAction action)
static Token
buildFeedToken(java.lang.String secret, Auth.TokenAction action)
static Token
buildFilesToken(java.lang.String secret, Auth.TokenAction action)
static Token
buildFollowToken(java.lang.String secret, FeedID feed, Auth.TokenAction action)
static Token
buildFollowToken(java.lang.String secret, Auth.TokenAction action)
static Token
buildFrontendToken(java.lang.String secret, java.lang.String userID)
static Token
buildFrontendToken(java.lang.String secret, java.lang.String userID, java.util.Date expiresAt)
static Token
buildOpenGraphToken(java.lang.String secret)
static Token
buildPersonalizationToken(java.lang.String secret, java.lang.String userID, Auth.TokenAction action)
static Token
buildReactionsToken(java.lang.String secret, Auth.TokenAction action)
static Token
buildToTargetUpdateToken(java.lang.String secret, FeedID feed, Auth.TokenAction action)
static Token
buildUsersToken(java.lang.String secret, Auth.TokenAction action)
-
-
-
Method Detail
-
buildFeedToken
public static Token buildFeedToken(java.lang.String secret, FeedID feed, Auth.TokenAction action)
-
buildToTargetUpdateToken
public static Token buildToTargetUpdateToken(java.lang.String secret, FeedID feed, Auth.TokenAction action)
-
buildFeedToken
public static Token buildFeedToken(java.lang.String secret, Auth.TokenAction action)
-
buildActivityToken
public static Token buildActivityToken(java.lang.String secret, Auth.TokenAction action)
-
buildFollowToken
public static Token buildFollowToken(java.lang.String secret, Auth.TokenAction action)
-
buildFollowToken
public static Token buildFollowToken(java.lang.String secret, FeedID feed, Auth.TokenAction action)
-
buildCollectionsToken
public static Token buildCollectionsToken(java.lang.String secret, Auth.TokenAction action)
-
buildPersonalizationToken
public static Token buildPersonalizationToken(java.lang.String secret, java.lang.String userID, Auth.TokenAction action)
-
buildReactionsToken
public static Token buildReactionsToken(java.lang.String secret, Auth.TokenAction action)
-
buildAnalyticsToken
public static Token buildAnalyticsToken(java.lang.String secret, Auth.TokenAction action)
-
buildAnalyticsRedirectToken
public static Token buildAnalyticsRedirectToken(java.lang.String secret)
-
buildUsersToken
public static Token buildUsersToken(java.lang.String secret, Auth.TokenAction action)
-
buildOpenGraphToken
public static Token buildOpenGraphToken(java.lang.String secret)
-
buildFilesToken
public static Token buildFilesToken(java.lang.String secret, Auth.TokenAction action)
-
buildFrontendToken
public static Token buildFrontendToken(java.lang.String secret, java.lang.String userID)
-
buildFrontendToken
public static Token buildFrontendToken(java.lang.String secret, java.lang.String userID, java.util.Date expiresAt)
-
buildBackendToken
public static Token buildBackendToken(java.lang.String secret, Auth.TokenResource resource, Auth.TokenAction action, java.lang.String feedID)
-
buildBackendToken
public static Token buildBackendToken(java.lang.String secret, Auth.TokenResource resource, Auth.TokenAction action, java.lang.String feedID, java.lang.String userID)
-
-