public class QRCallbackBuilder extends Object
Constructor and Description |
---|
QRCallbackBuilder() |
Modifier and Type | Method and Description |
---|---|
QRCallbackBuilder |
addUriQueryComponent(String key,
String value)
Add a query component to use in the QR Callback URI.
|
Callback |
build()
Builds the callback from the provided information.
|
QRCallbackBuilder |
withCallbackIndex(int index)
Set the callback index to assign to the callback.
|
QRCallbackBuilder |
withUriHost(String host)
Set the host to use for the uri in the QR callback.
|
QRCallbackBuilder |
withUriPath(String path)
Set the path to use in the iur for the QR callback.
|
QRCallbackBuilder |
withUriPort(String port)
Set the port to use in the uri for the QR code callback.
|
QRCallbackBuilder |
withUriScheme(String scheme)
Set the uri scheme to use for the QR callback.
|
public Callback build()
public QRCallbackBuilder withCallbackIndex(int index)
index
- the new callback indexQRCallbackBuilder
public QRCallbackBuilder withUriScheme(String scheme)
scheme
- the scheme to use in the QR callback uriQRCallbackBuilder
public QRCallbackBuilder withUriHost(String host)
host
- the host to use in the uriQRCallbackBuilder
public QRCallbackBuilder withUriPath(String path)
path
- the path for the uriQRCallbackBuilder
public QRCallbackBuilder withUriPort(String port)
port
- the port to use in the uriQRCallbackBuilder
public QRCallbackBuilder addUriQueryComponent(String key, String value)
key
- the key of the query objectvalue
- the value of the query objectQRCallbackBuilder
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.