public class StaticUserId extends Object implements AppIdUserIdMechanism
AppIdUserIdMechanism
Constructor and Description |
---|
StaticUserId(String userId)
Create a new
StaticUserId for a given userId . |
Modifier and Type | Method and Description |
---|---|
String |
createUserId()
Create a UserId for AppId authentication.
|
public StaticUserId(String userId)
StaticUserId
for a given userId
.userId
- must not be empty or null.public String createUserId()
AppIdUserIdMechanism
createUserId
in interface AppIdUserIdMechanism
Copyright © 2016–2018 Pivotal Software, Inc.. All rights reserved.