@nevis-security/nevis-mobile-authentication-sdk-react
Version:
React Native plugin for Nevis Mobile Authentication SDK. Supports only mobile.
32 lines (27 loc) • 698 B
text/typescript
/**
* Copyright © 2023 Nevis Security AG. All rights reserved.
*/
import { ChannelMessage } from '../ChannelMessage';
/**
* Holds the parameters of the account selection operation platform channel call.
*/
export class AccountUsernameMessage implements ChannelMessage {
/**
* The identifier of the operation.
*/
operationId: string;
/**
* The selected username.
*/
username: string;
/**
* Default constructor for {@link AccountUsernameMessage}.
*
* @param operationId the identifier of the operation.
* @param username the selected username.
*/
constructor(operationId: string, username: string) {
this.operationId = operationId;
this.username = username;
}
}