Skip to content

Instantly share code, notes, and snippets.

@balvinder294
Created July 27, 2020 07:33
Show Gist options
  • Save balvinder294/5dda3ad5f32e5bf0a493b1c1705fc09c to your computer and use it in GitHub Desktop.
Save balvinder294/5dda3ad5f32e5bf0a493b1c1705fc09c to your computer and use it in GitHub Desktop.
DTO for handling Response from Apples public key list for Apple Sign In
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
public final class ListApplePublicKey {
private final List<ApplePublicKey> keys;
public ListApplePublicKey(@JsonProperty("keys") List<ApplePublicKey> keys) {
this.keys = keys;
}
public List<ApplePublicKey> getKeys() {
return keys;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment