@Immutable @Loggable(value=1) public final class Token extends Object
This is how you're supposed to use it:
Postman postman = new Postman.Default(
new SMTP(
new Token("user", "password").access(
new Protocol.SMTP("bind", "port")
)
)
);
| Constructor and Description |
|---|
Token(String usr,
String pwd)
Public ctor.
|
| Modifier and Type | Method and Description |
|---|---|
javax.mail.Session |
access(Protocol protocol)
Access for given protocol.
|
Copyright © 2012–2021 jcabi.com. All rights reserved.