Yes, we does not have exact example, sample above point to method declaration.
Returned type is `Map<String, String>`, it is not `String`, so you have to return Map.
Note, that server encodes it as `key:value`. So if you put `map.put("key", "pwd" )` in `id_token` `amr` it will appear as : `"amr": ["key:pwd"]`.