{"action":"opened","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-ios/issues/140","labels_url":"https://api.github.com/repos/aws/aws-sdk-ios/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-ios/issues/140/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-ios/issues/140/events","html_url":"https://github.com/aws/aws-sdk-ios/issues/140","id":55344118,"number":140,"title":"AWSAbstractIdentityProvider and Swift","user":{"login":"pgherveou","id":521091,"avatar_url":"https://avatars.githubusercontent.com/u/521091?v=3","gravatar_id":"","url":"https://api.github.com/users/pgherveou","html_url":"https://github.com/pgherveou","followers_url":"https://api.github.com/users/pgherveou/followers","following_url":"https://api.github.com/users/pgherveou/following{/other_user}","gists_url":"https://api.github.com/users/pgherveou/gists{/gist_id}","starred_url":"https://api.github.com/users/pgherveou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgherveou/subscriptions","organizations_url":"https://api.github.com/users/pgherveou/orgs","repos_url":"https://api.github.com/users/pgherveou/repos","events_url":"https://api.github.com/users/pgherveou/events{/privacy}","received_events_url":"https://api.github.com/users/pgherveou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-23T22:59:08Z","updated_at":"2015-01-23T22:59:08Z","closed_at":null,"body":"When you want to subclass AWSAbstractIdentityProvider in swift you need to override  the readonly token property, to set it later in the refresh method \r\n\r\nI did something like this\r\n```swift\r\n  var _token: String!\r\n  override var token: String! {\r\n    get {\r\n      return _token\r\n    }\r\n  }\r\n```\r\n\r\nDoes this property really need to be read only? It would be cleaner not to have to override this property in subclasses dont you think?"}}