Package io.token.bank.security
Class BankAccountAuthorizer
- java.lang.Object
-
- io.token.bank.security.BankAccountAuthorizer
-
public class BankAccountAuthorizer extends java.lang.Object
A helper tool used to generate bank account authorizations for linking with the Token System.
-
-
Constructor Summary
Constructors Constructor Description BankAccountAuthorizer(java.lang.String bankId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.token.proto.banklink.Banklink.BankAuthorization
createAuthorization(java.lang.String memberId, java.util.List<NamedAccount> accounts)
Creates a new bank account linking authorization.
-
-
-
Method Detail
-
createAuthorization
public io.token.proto.banklink.Banklink.BankAuthorization createAuthorization(java.lang.String memberId, java.util.List<NamedAccount> accounts)
Creates a new bank account linking authorization.- Parameters:
memberId
- the token memberId to be authorizedaccounts
- a list of accounts to be linked with the member ID- Returns:
- a bank account linking authorization
-
-