public static ConsumerTokenStore.Key makeOAuthApplinksConsumerKey(final String username, final String applicationLinkId) { Preconditions.checkNotNull(username, "Username cannot be null!"); Preconditions.checkNotNull(applicationLinkId, "Application Link Id cannot be null!"); return new ConsumerTokenStore.Key(applicationLinkId + ":" + username); }
public static ConsumerTokenStore.Key makeOAuthApplinksConsumerKey(final String username, final String applicationLinkId) { checkNotNull(username, "Username cannot be null!"); checkNotNull(applicationLinkId, "Application Link Id cannot be null!"); return new ConsumerTokenStore.Key(applicationLinkId + ":" + username); } }